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