public override void StateStart() { Catus.TransformRoot.DOScale(Vector3.one, 0.5f).SetEase(Catus.AnimationCurveGrow).OnComplete(() => { Catus.SetState(eCatusState.Idle); }); }
private void CheckTouchDragon() { DragonTouch = Catus.CheckTouchDragon(); if (DragonTouch != null) { if (DragonTouch.State != eDragonState.Injurd) { DragonTouch.SetState(eDragonState.Injurd); } DragonTouch = null; } }
public ICatusState(Catus catus) : base(catus) { }
public CatusState_Idle(Catus catus) : base(catus) { }
public CatusState_Grow(Catus catus) : base(catus) { }
public CatusState_Hide(Catus catus) : base(catus) { }