示例#1
0
 protected void initState(string stateName, stateFunction func)
 {
     if (states.ContainsKey(stateName))
     {
         Debug.LogError("Repeated Key Value");
         return;
     }
     states[stateName] = func;
 }
示例#2
0
 protected void setState(stateFunction func)
 {
     actualState = func;
 }
示例#3
0
 protected void initState(string stateName, stateFunction func)
 {
     states[stateName] = func;
 }