コード例 #1
0
    static public void FadeInToEndLevel(CallbackDelegate callback)
    {
        if (S == null)
        {
            Debug.LogError("LevelAdvance:AdvanceLevel() - Called while S is null.");
            return;
        }

        S.endLevelCallback = callback;

        S.SetState(eLevelAdvanceState.fadeIn);
    }
コード例 #2
0
    static public void AdvanceLevel(AsteraX.CallbackDelegate displayCB, AsteraX.CallbackDelegate idleCB)
    {
        if (S == null)
        {
            Debug.LogError("LevelAdvancePanel:AdvanceLevel() - Called while S is null.");
            return;
        }

        S.displayCallback = displayCB;
        S.idleCallback    = idleCB;

        S.SetState(eLevelAdvanceState.fadeIn);
    }