Exemple #1
0
 private void Awake()
 {
     this.rand = new SeededRandom(this.randSeed);
     LightSwitch.MakeCTX(ref this.stylists, ref this.stylistCTX);
     if (this.stylists != null)
     {
         for (int i = 0; i < (int)this.stylists.Length; i++)
         {
             if (this.stylists[i])
             {
                 this.stylists[i] = this.stylists[i].ensuredAwake;
             }
         }
     }
 }