Example #1
0
    public static void RunAll(DelayedDelegateGameObject method)
    {
        for (int x = delayedDelegatesGameObject.Count - 1; x >= 0; x--)
        {
            if (delayedDelegatesGameObject[x] == method)
            {
                delayedDelegatesTimeGameObject[x] = Time.fixedTime;
            }
        }

        DelayedDelegates.RunDelegates();
    }
Example #2
0
    public static void RunAll(DelayedDelegateCollider method)
    {
        for (int x = delayedDelegatesCollider.Count - 1; x >= 0; x--)
        {
            if (delayedDelegatesCollider[x] == method)
            {
                delayedDelegatesTimeCollider[x] = Time.fixedTime;
            }
        }

        DelayedDelegates.RunDelegates();
    }
Example #3
0
    public static void RunAll(DelayedDelegateVector2 method)
    {
        for (int x = delayedDelegatesVector2.Count - 1; x >= 0; x--)
        {
            if (delayedDelegatesVector2[x] == method)
            {
                delayedDelegatesTimeVector2[x] = Time.fixedTime;
            }
        }

        DelayedDelegates.RunDelegates();
    }
Example #4
0
    public static void RunAll(DelayedDelegateString method)
    {
        for (int x = delayedDelegatesString.Count - 1; x >= 0; x--)
        {
            if (delayedDelegatesString[x] == method)
            {
                delayedDelegatesTimeString[x] = Time.fixedTime;
            }
        }

        DelayedDelegates.RunDelegates();
    }
Example #5
0
    public static void RunAll(DelayedDelegateParameters method)
    {
        for (int x = delayedDelegatesParams.Count - 1; x >= 0; x--)
        {
            if (delayedDelegatesParams[x] == method)
            {
                delayedDelegatesTimeParams[x] = Time.fixedTime;
            }
        }

        DelayedDelegates.RunDelegates();
    }
Example #6
0
    public static void RunAll()
    {
        for (int x = delayedDelegates.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTime[x]     = Time.fixedTime;
            delayedDelegatesRealtime[x] = false;
            delayedDelegatesFrame[x]    = 0;
        }

        for (int x = delayedDelegatesParams.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeParams[x] = Time.fixedTime;
        }

        for (int x = delayedDelegatesInt.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeInt[x] = Time.fixedTime;
        }

        for (int x = delayedDelegatesString.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeString[x] = Time.fixedTime;
        }

        for (int x = delayedDelegatesFloat.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeFloat[x] = Time.fixedTime;
        }

        for (int x = delayedDelegatesVector3.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeVector3[x] = Time.fixedTime;
        }

        for (int x = delayedDelegatesVector2.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeVector2[x] = Time.fixedTime;
        }

        for (int x = delayedDelegatesGameObject.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeGameObject[x] = Time.fixedTime;
        }

        for (int x = delayedDelegatesCollider.Count - 1; x >= 0; x--)
        {
            delayedDelegatesTimeCollider[x] = Time.fixedTime;
        }

        DelayedDelegates.RunDelegates();
    }
Example #7
0
    public static void RunAll(DelayedDelegateInt method)
    {
        for (int x = delayedDelegatesInt.Count - 1; x >= 0; x--)
        {
            if (delayedDelegatesInt[x] == method)
            {
                delayedDelegatesTimeInt[x]     = Time.fixedTime;
                delayedDelegatesIntRealtime[x] = false;
                delayedDelegatesIntFrame[x]    = 0;
            }
        }

        DelayedDelegates.RunDelegates();
    }
Example #8
0
 void Update()
 {
     DelayedDelegates.RunDelegates();
 }