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); }
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); }