protected override void AtSetup() { coroutines = Coroutines.Setup(); dbgValues = DbgValues.Setup(); Child(ref soundMan, SoundManager.Setup( settings.sound, settings.soundChannels )); Child(ref effectMan, EffectManager.Setup( settings.effect )); Child(ref inputMan, InputManager.Setup( settings.input, rewired )); Child(ref playerMan, PlayerManager.Setup( inputMan )); playerMan.CreateSystemPlayer(); }
public void Shutdown() { nodes.Clear(); instance = null; }
public static DbgValues Setup() { instance = new DbgValues(); return(instance); }