RemoteTech.RTSpaceCentre.onLevelWasLoaded C# (CSharp) Méthode

onLevelWasLoaded() private méthode

private onLevelWasLoaded ( GameScenes scene ) : void
scene GameScenes
Résultat void
        private void onLevelWasLoaded(GameScenes scene)
        {
            if (scene != GameScenes.SPACECENTER)
                return;

            if (!RTSettings.Instance.FirstStart)
                return;

            // open here the option dialog for the first start
            RTLog.Notify("First start of RemoteTech!");
            _optionWindow.Show();
            RTSettings.Instance.FirstStart = false;
        }