Beispiel #1
0
        public QSECommand()
        {
            if (Instance == null)
            {
                Instance = FindObjectOfType(typeof(QSECommand)) as QSECommand;

                if (Instance == null)
                {
                    GameObject qse_command = new GameObject("QSECommand");
                    Instance = qse_command.GetOrAddComponent <QSECommand>();
                }
            }
        }
Beispiel #2
0
 public void Awake()
 {
     Instance = this;
     DevConsole.RegisterConsoleCommand(this, "qseconfig", false, false);
     SNLogger.Log($"[{QSEConfig.PROGRAM_NAME}] {Message}");
 }
Beispiel #3
0
 public void Awake()
 {
     Instance = this;
     DevConsole.RegisterConsoleCommand(this, "qseconfig", false, false);
     SNLogger.Log(Message);
 }