示例#1
0
    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();
    }
示例#2
0
 public void Shutdown()
 {
     nodes.Clear();
     instance = null;
 }
示例#3
0
    public static DbgValues Setup()
    {
        instance = new DbgValues();

        return(instance);
    }