Beispiel #1
0
 void Start()
 {
     small = GameManagerScript.SB;
     rigibody = liftable.GetComponent<Rigidbody> ();
     smallInput = GameManagerScript.SB.GetComponent<PlayerInputScript>();
     glow = GetComponentInChildren<ParticleSystem> ();
     Glow(false);
     endpos = endPosition.position;
     animator = smallInput.GetComponentInChildren<Animator>();
     liftSound = GetComponent<AudioSource> ();
 }