override public float Run() { if (animEngine != null) { return(animEngine.ActionAnimRun(this)); } else { ACDebug.LogError("Could not create animation engine!"); return(0f); } }
public override float Run() { if (method == AnimMethod.BlendShape && isPlayer && runtimeShapeObject == null) { LogWarning("Cannot BlendShape Player since cannot find Shapeable script on Player."); } if (animEngine != null) { return(animEngine.ActionAnimRun(this)); } else { LogWarning("Could not create animation engine!"); return(0f); } }