private void AddCheckFunction(EnumStroyCheckFunc func, float delayTime, string paramers = "") { DelayStoryFunc delayFunc = new DelayStoryFunc(func, delayTime * 0.001f); delayFunc.paramers = paramers; if (delayTime <= 0) { HandleDelayFunc(delayFunc); } else { m_delayFuncList.Add(delayFunc); } }
public void Reset() { funcType = EnumStroyCheckFunc.None; delayTime = 0f; isHandle = false; }
public DelayStoryFunc(EnumStroyCheckFunc type, float delay) { funcType = type; delayTime = delay; }