Example #1
0
 // Start is called before the game starts
 void Start()
 {
     // Self reference assignment
     instance = this;
     // Health system assignment
     hs.DrawHearts(lives, maxLives);
     // Camera assignment
     camShake = Camera.main.GetComponent <CameraShake>();
 }