Exemple #1
0
 void Start()
 {
     rigidbody           = GetComponent <Rigidbody2D> ();
     downRotation        = Quaternion.Euler(0, 0, -90);
     forwardRotation     = Quaternion.Euler(0, 0, 35);
     game                = GameManagerFF.Instance;
     rigidbody.simulated = false;
 }
 void Awake()
 {
     Instance = this;
 }
Exemple #3
0
 void Start()
 {
     game       = GameManagerFF.Instance;
     shiftSpeed = defaultShiftSpeed;
     spawnRate  = defaultSpawnRate;
 }