Code Monkey home page Code Monkey logo

c-sharp-job-system-sample's Introduction

C-sharp-Job-System-Sample

C# Job Systemのサンプルです。
基本的にすべて同じ挙動をするはずです。
段階的にC# Job Systemへ移行しています

このプロジェクトは、下のブログ記事説明用です。
【Unity】C# Job Systemを自分なりに解説してみる

ジョブ氏のサンプル

Bounce Cube 0 :

C# Job Systemとか全く使わない方法
https://github.com/tsubaki/C-sharp-Job-System-Sample/blob/master/Assets/Scripts/BounceCube0.cs

cube0

Bounce Cube 1 :

RaycastCommand を使用してRaycast部分を並列化
https://github.com/tsubaki/C-sharp-Job-System-Sample/blob/master/Assets/Scripts/BounceCube1.cs

cube1

Bounce Cube 2 :

IJobParallelFor を使用して、Cubeがバウンドする部分の速度制御を並列化
https://github.com/tsubaki/C-sharp-Job-System-Sample/blob/master/Assets/Scripts/BounceCube2.cs

cube2

Bounce Cube 3 :

IJobParallelForTransform を使用して、Cubeのtransformが動く部分をjob化
https://github.com/tsubaki/C-sharp-Job-System-Sample/blob/master/Assets/Scripts/BounceCube3.cs

cube3

Bounce Cube 4 :

追加機能。 IJob を使用して、地面に接触してるCubeがあるかどうかを判定する処理をJob化
https://github.com/tsubaki/C-sharp-Job-System-Sample/blob/master/Assets/Scripts/BounceCube4.cs

cube4

c-sharp-job-system-sample's People

Contributors

tsubaki avatar

Watchers

 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.