Ejemplo n.º 1
0
 // Initialisation des modules
 private void Awake()
 {
     if (Instance != null) {
         Destroy (this);
         Warning ("There's already an Instance of " + MOD);
         return;
     }
     Instance = this;
     if (BlizzyToolbar == null) BlizzyToolbar = new QBlizzyToolbar ();
     QGUI.Awake ();
     QShortCuts.Awake ();
     Log ("Awake");
 }
Ejemplo n.º 2
0
 // Initialisation des modules
 private void Awake()
 {
     if (Instance != null)
     {
         Destroy(this);
         Warning("There's already an Instance of " + MOD);
         return;
     }
     Instance = this;
     if (BlizzyToolbar == null)
     {
         BlizzyToolbar = new QBlizzyToolbar();
     }
     QGUI.Awake();
     QShortCuts.Awake();
     Log("Awake");
 }