Inheritance: MonoBehaviour
コード例 #1
0
ファイル: add_script.cs プロジェクト: 9volt/Minigames-game-6
 // Use this for initialization
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player");
     the_boss = (boss) GameObject.FindGameObjectWithTag("Spider").GetComponent<boss>();
     StartCoroutine(pinSpit(3f));
     StartCoroutine(webSpit(10f));
     movepoints = the_boss.movepoints;
     changeTarget();
 }