public override void Initialize(PlayerBase player) { myPlayer = player; var preAction = ResourceManager.Instance.Get <HitSeriesofAction>(ConstDirectry.DirPrefabsHitPlayer, ConstActionHitData.ActionSpecialistWeak1); HitWeakattack1Animation = Instantiate(preAction); HitWeakattack1Animation.Initialize(myPlayer); preAction = ResourceManager.Instance.Get <HitSeriesofAction>(ConstDirectry.DirPrefabsHitPlayer, ConstActionHitData.ActionSpecialistWeak2); HitWeakattack2Animation = Instantiate(preAction); HitWeakattack2Animation.Initialize(myPlayer); preAction = ResourceManager.Instance.Get <HitSeriesofAction>(ConstDirectry.DirPrefabsHitPlayer, ConstActionHitData.ActionSpecialistWeak3); HitWeakattack3Animation = Instantiate(preAction); HitWeakattack3Animation.Initialize(myPlayer); HitWeakattack3Animation.actionType = HitSeriesofAction.ActionType.LightEnd; }
public override void HitAnimationWeakattack3(float atk) { HitWeakattack3Animation.Activate(atk); }