Code Monkey home page Code Monkey logo

unity-multi-threading's Introduction

unity multi threading

unity3d multi threading helper class with two examples, for indie devs. bring good to the world etc.!

we have an array of 10 grandmas, with an age of 60, 62, 64, 66, 68, 70, 72, 74, 76, 78. we like to increment the age of every grandma by 1. because we're in a hurry, we use multi-threading and process those 10 grandma items with more cores.

all files should be well commented. for advanced topics like generics: see links in class or below.

advanced topics:

how to:

  • open project folder
  • press play
  • check debug.log
  • we see 10 numbers (age of all grandmas + 1)
  • we see two examples

example 1:

  • long, but easier example
  • check code for details

example 2:

  • short, but advaned example
  • check code for details

copyright: well, i don't care. do whatever you as long it helps you and others. nothing special about this code.

for questions: [email protected] and http://twitter.com/btxsqdr

unity-multi-threading's People

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.