Exemplo n.º 1
0
    private void Awake()
    {
        InitialStatus();
        this.chara = this.GetComponent <ChracterBase>();

        this.skills        = new List <Skillbase>();
        this.passiveSkill  = new List <Skillbase>();
        this.selfBuffTime  = new Dictionary <Skillbase, float>();
        this.enemyBuffTime = new Dictionary <Skillbase, float>();
        initialSCale       = this.transform.localScale;
    }
Exemplo n.º 2
0
 private void Awake()
 {
     Enemies = new List <Transform>();
     chara   = this.GetComponentInParent <ChracterBase>();
 }