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