示例#1
0
 public void Action(MonoBehaveProxy proxy)
 {
     if (this._action != null)
     {
         this._actionRunning = true;
         proxy.StartCoroutine(this._action(this));
     }
 }
示例#2
0
        public CoroutineStateMachine()
        {
            GameObject g = new GameObject("smProxy");

            this._proxy = g.AddComponent <MonoBehaveProxy> ();
        }