public override void StaticState(bool doStatic = true, float fadeDelay = 0.1f) { if (null != rootMotion && rootMotion.IsPlayingMotion) { rootMotion.End(); } base.StaticState(doStatic, fadeDelay); }
public override void StaticState(bool doStatic = true, float fadeDelay = 0.1f) { if (null != rootMotion && rootMotion.IsPlayingMotion) { rootMotion.End(); } if (!doStatic) { //if (SceneManager.instance.optionData.ShowNpcHead)//Npc 이름, HpBar 표기 하는 것이 True면 실행 //if(SceneManager.instance.optionData.ShowHpBar) //if() ShowHeadObj(true); } base.StaticState(doStatic, fadeDelay); }