Esempio n. 1
0
    void Start()
    {
        //roleInstance = null;
        //   Debug.LogWarning("attackCollider start");
        if (charInstance == null)
        {
            charInstance = App.Game.character;
        }

        if (charInstance != null)
        {
            if (pAttackClass == null)
            {
                pAttackClass = charInstance.roleInstance.GetComponent <attcakStartEnd>();
            }
        }
    }
Esempio n. 2
0
 private void setAttackEnd()
 {
     attcakStartEnd pAttackClass = App.Game.character.roleInstance.GetComponent <attcakStartEnd>();
     //  pAttackClass.attackJudge(0);
 }