示例#1
0
文件: LiftScript.cs 项目: Gotyn/WHICH
 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> ();
 }