public void ExecuteAction() { ChatBubble.Create(gameObject.transform, new Vector3(1f, 1.7f), ChatBubble.IconType.Happy, text); FunctionTimer.Create(() => { onChatBubbleComplete.ExecuteAction(); }, 2f); }
public void ExecuteAction() { unitGameObject.GetComponent <IMovePosition>().SetMovePosition(movePosition, () => { onReachedPosition.ExecuteAction(); } ); }
private void Start() { customAction.ExecuteAction(); }