Giter Site home page Giter Site logo

kobechenyang / reeseunitydemos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reeseschultz/reeseunitydemos

0.0 1.0 0.0 5.55 MB

Unity packages and demos—emphasizing ECS, jobs, and the Burst compiler—by me, Reese.

Home Page: https://reeseschultz.com

License: MIT License

C# 100.00%

reeseunitydemos's Introduction

ReeseUnityDemos

Unity packages and demos—emphasizing ECS, jobs, and the Burst compiler—by me, Reese.

Packages

This project is a UPM package monorepo that supports the included demos, featuring:

  1. Nav - DOTS navigation with auto-jumping agents and movable surfaces.
  2. Spawning - Generic DOTS runtime spawning for any combination of prefab, components, and buffers.
  3. Randomization - Unity.Mathematics.Random number generators in jobs, including Burst-capable ones.

All of my packages are available on OpenUPM. Please support it and its maintainer, Favo. We depend on dedicated people like him.

ubump

My packages benefit from ubump, automating their SemVer-bumping needs, including committing, pushing, tagging, changelog generation and subtree splitting so each package can be released stand-alone and imported with OpenUPM or Git.

Video of using ubump's interactive CLI mode.

Demos

Here's how my articles on reeseschultz.com relate to samples in this project:

The DOTS navigation scripts and demos are self-contained so you can use them in your project.

Video of navigation agents jumping across moving surfaces.

Assets/Scenes/Nav/NavMovingJumpDemo.unity.

Video of agents spawning and avoiding obstacles.

Assets/Scenes/Nav/NavPerformanceDemo.unity.

Video of an agent moving to point-and-clicked destinations.

Assets/Scenes/Nav/NavPointAndClickDemo.unity.


Video of changing prefab colors with Unity ECS.

Assets/Scenes/PointAndClickDemo.unity.


Video of projectile motion demonstration with Unity DOTS.

Assets/Scenes/ProjectileDemo.unity


Assets/Scenes/ProjectileDemo.unity

Assets/Scenes/SpawnDemo.unity

Assets/Scenes/Nav/NavPerformanceDemo.unity


Assets/Scenes/ProjectileDemo.unity


Video of spawning prefabs with Unity ECS.

Assets/Scenes/SpawnDemo.unity


Linux & You

Linux users may need to do some extra work to get the project and/or packages up and running.

Mono Setup

Install Mono by following these directions.

Burst Prerequisite Setup

Avoid sandboxing Unity Hub and Unity with Flatpak or Snap, otherwise libdl.so may be inaccessible to the editor.

Also, on Ubuntu, you may need to manually install gcc-multilib and libncurses5 with:

sudo apt install gcc-multilib libncurses5

Contributor Agreement

By submitting a pull request, you agree to license your work under this project's MIT license.

reeseunitydemos's People

Contributors

reeseschultz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.