示例#1
0
 public void Clear()
 {
     Skill                  = null;
     IsRegistered           = false;
     IsFinished             = false;
     CurrentTargetNum       = 0;
     Attacker               = null;
     Target                 = null;
     Range                  = 0f;
     CheckCompleteCoroutine = null;
 }
示例#2
0
 public void Init(GrapplingSkill grapplingSkill, CharacterControl attacker)
 {
     Skill                  = grapplingSkill;
     IsRegistered           = false;
     IsFinished             = false;
     CurrentTargetNum       = 0;
     Type                   = grapplingSkill.Type;
     Mode                   = grapplingSkill.Mode;
     Range                  = grapplingSkill.Range;
     Damage                 = grapplingSkill.Damage;
     Stun                   = grapplingSkill.Stun;
     FreezeStartTiming      = grapplingSkill.FreezeStartTiming;
     Attacker               = attacker;
     Target                 = null;
     CheckCompleteCoroutine = null;
 }