コード例 #1
0
ファイル: movimientoboss.cs プロジェクト: Alvaro-24/rebelion5
    // Start is called before the first frame update
    void Start()
    {
        player = GameObject.FindGameObjectWithTag("Player").GetComponent <movimientoplayer>();
        giro   = this.GetComponent <SpriteRenderer>();
        int posicion = Random.Range(0, posicionbatalla2.Length);

        this.transform.position = posicionbatalla2[posicion].transform.position;
        controlanimaciones      = GetComponent <Animator>();
    }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     player             = GameObject.FindGameObjectWithTag("Player").GetComponent <movimientoplayer>();
     giro               = this.GetComponent <SpriteRenderer>();
     controlanimaciones = GetComponent <Animator>();
 }
コード例 #3
0
 // Start is called before the first frame update
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player").GetComponent <movimientoplayer>();
 }
コード例 #4
0
ファイル: movimientogato.cs プロジェクト: Alvaro-24/rebelion5
 // Start is called before the first frame update
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player").GetComponent <movimientoplayer>();
     giro   = this.GetComponent <SpriteRenderer>();
 }