void Awake()
 {
     player = GameObject.FindGameObjectWithTag ("Player");
     playerHealth = player.GetComponent<PlayerHealth> ();
     squigeeMover = GetComponent<SquigeeMover>();
 }
コード例 #2
0
 void Awake()
 {
     player       = GameObject.FindGameObjectWithTag("Player");
     playerHealth = player.GetComponent <PlayerHealth> ();
     squigeeMover = GetComponent <SquigeeMover>();
 }