December 2013
Beginner
320 pages
8h 22m
English
Because of the power of inheritance, the script we are creating here consists of only a handful of lines of code:
YellowBird model instead.Bird script, we will create the YellowBird script.Bird script, so replace MonoBehaviour with Bird on line four. It should look similar to the following code snippet:public class YellowBird : Bird {public float multiplier = 2f;
DoSpecial function and multiply the bird's rigidbody.velocity when it is called:protected override void ...
Read now
Unlock full access