public static void ShowAction(ActorModel actorModel, string actionName, Action actionEnd = null) { if (actorModel != null) { actorModel.PlayActionImmediate(actionName, actionEnd); return; } if (actionEnd != null) { actionEnd.Invoke(); } }