Inheritance: SkillBase
Ejemplo n.º 1
0
    void Start()
    {
        skill[0] = new skill1();
        skill[1] = new skill2();

        skill[0].init(this.GetComponent <AudioSource>(), audio, this.GetComponent <Move1>(), this, this.gameObject);
        skill[1].init(this.GetComponent <AudioSource>(), audio, this.GetComponent <Move1>(), this, this.gameObject);
    }
Ejemplo n.º 2
0
    void Start()
    {
        skill[0] = new skill1();
        skill[1] = new skill2();

        skill[0].init(this.GetComponent<AudioSource>(),audio,this.GetComponent<Move1>(),this,this.gameObject);
        skill[1].init(this.GetComponent<AudioSource>(), audio, this.GetComponent<Move1>(), this,this.gameObject);
    }