Example #1
0
    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);
        }
    }
Example #2
0
 public void Reset()
 {
     funcType  = EnumStroyCheckFunc.None;
     delayTime = 0f;
     isHandle  = false;
 }
Example #3
0
 public DelayStoryFunc(EnumStroyCheckFunc type, float delay)
 {
     funcType  = type;
     delayTime = delay;
 }