コード例 #1
0
ファイル: Enemy.cs プロジェクト: cebollinos11/pentagramo
	// Use this for initialization
	public override void Start () {
        player = GameObject.FindGameObjectWithTag("Player");

        pGramo = player.GetComponent<Pentagramo>();
        anim = GetComponentInChildren<Animator>();
        base.Start();
	
	}
コード例 #2
0
	// Use this for initialization
	void Start () {

        pentagramo = GetComponent<Pentagramo>();
	
	}