Esempio n. 1
0
 public void Awake()
 {
     Utils.Log("[AM Factory UI]: Awake");
     Instance  = this;
     resources = new UIResources();
     GameEvents.onGUIApplicationLauncherReady.Add(OnGUIAppLauncherReady);
     GameEvents.onGUIApplicationLauncherDestroyed.Add(OnGUIAppLauncherDestroyed);
 }
Esempio n. 2
0
 public void Awake()
 {
     Instance         = this;
     resources        = new UIResources();
     profileColors    = new Color[6];
     profileColors[0] = GUIResources.GetColor("profile_0");
     profileColors[1] = GUIResources.GetColor("profile_1");
     profileColors[2] = GUIResources.GetColor("profile_2");
     profileColors[3] = GUIResources.GetColor("profile_3");
     profileColors[4] = GUIResources.GetColor("profile_4");
     profileColors[5] = GUIResources.GetColor("profile_5");
 }