Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     animationPlaying = false;
     print("initialize");
     harmfulCollision = player.GetComponent <HarmfulCollision>();
     currentLives     = harmfulCollision.health;
 }
Beispiel #2
0
 void Start()
 {
     rb2d             = GetComponent <Rigidbody2D>();
     anim             = GetComponent <Animator>();
     harmfulCollision = GetComponent <HarmfulCollision>();
 }