private StopSkillAnimation ( int actorId ) : void | ||
actorId | int | |
return | void |
internal void StopSkillAnimation(int actorId)
{
UnityEngine.GameObject obj = GetGameObject(actorId);
if (null != obj) {
UnityEngine.Animator animator = obj.GetComponentInChildren<UnityEngine.Animator>();
if (null != animator) {
animator.Play("Stand");
}
}
}
static public int StopSkillAnimation(IntPtr l) { try { GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); self.StopSkillAnimation(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }