Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Graphing functions (Node editor for maths)

$
0
0
Imagine you are designing some UI for your game, and you have a lives counter, with a particle system for effect. You want the number of remaining lives to dictate the particles emission rate, so you add some code like:
Code (CSharp):
  1. myParticleSystem.emissionRate = lives;
[​IMG]
Now, the more lives you have, the more particles there is. But now you decide that a Y=X relationship isnt right, so you...

Graphing functions (Node editor for maths)

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>