示例#1
0
 public void CallAction()
 {
     if (Application.isPlaying)
     {
         action.Call();
     }
     else
     {
         Debug.LogWarning("In order to see SafeAction working, please enter Play mode.");
     }
 }
示例#2
0
 public void Complete(A value)
 {
     result = value;
     onComplete.Call(value);
     onComplete.UnregisterAll();
 }
示例#3
0
 public void Click()
 {
     Action.Call();
 }