Beispiel #1
0
 public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted,
                           int intParam = 0, string strParam = null, Object objectParam = null)
 {
 }
Beispiel #2
0
        List <SSAction> actionList = new List <SSAction>();       /* 必须初始化!!!! */

        public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted,
                                  int intParam = 0, string strParam = null, Object objectParam = null)
        {
            source.enable = false;                            /* 动作完成执行 */
        }
Beispiel #3
0
 public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted,
                           int intParam = 0, string strParam = null, UnityEngine.Object objectParam = null)
 {
     diskFactory.freeDisk(source.gameobject);
     source.gameobject.GetComponent <DiskData>().hit = false;
 }
Beispiel #4
0
 public void SSActionEvent(SSAction sourse, SSActionEventType events = SSActionEventType.Completed)
 {
 }
Beispiel #5
0
 public void SSActionEvent(SSAction source)
 {
     complete = SSActionEventType.Competeted;
 }
Beispiel #6
0
 public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted,
                           int intParam = 0, string strParam = null, Object objectParam = null)
 {
     //牧师与魔鬼的游戏对象移动完成后就没有下一个要做的动作了,所以回调函数为空
 }
Beispiel #7
0
 public void SSActionCallback(SSAction source) //运动事件结束后的回调函数
 {
     count--;
     Complete = SSActionEventType.Completed;
     source.gameObject.SetActive(false);
 }
Beispiel #8
0
 //回调函数SSActionEventType设置为Completed
 public void SSActionCallback(SSAction source)
 {
     Complete = SSActionEventType.Completed;
 }
 public void SSActionCallback(SSAction source) //callback when the program edd
 {
     count--;
     Complete = SSActionEventType.Completed;
     source.gameObject.SetActive(false);
 }
Beispiel #10
0
 public void SSActionEvent(SSAction source)
 {
     Complete = SSActionEventType.Competeted;
     source.gameObject.SetActive(false);
 }
Beispiel #11
0
 public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null, Object objectParam = null)
 {
     // throw new System.NotImplementedException();
 }
Beispiel #12
0
 public void SSActionCallback(SSAction source)
 {
     --count;
     Complete = SSActionEventType.Completed;
     source.gameObject.SetActive(false);
 }
Beispiel #13
0
 public void SSActionEvent(SSAction source, SSActionEventType eventType = SSActionEventType.Completed, SSActionTargetType intParam = SSActionTargetType.Normal, string strParam = null, object objParam = null)
 {
     //throw new NotImplementedException();
 }
 public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null, object objectParam = null)
 {
     this.sceneController.buttonActive = true;
 }
 public void SSActionDone(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intPara = 0, string strPara = null, Object objectParam = null)
 {
     Debug.Log("SSActionDone");
 }
 public void SSActionEvent(SSAction sourse, SSActionEventType events = SSActionEventType.Completed)
 {
     Debug.Log("Completed!");
 }