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>(); } } }
private void setAttackEnd() { attcakStartEnd pAttackClass = App.Game.character.roleInstance.GetComponent <attcakStartEnd>(); // pAttackClass.attackJudge(0); }