Esempio n. 1
0
 protected override void Awake()
 {
     if (this.cachedBasicSprite == null)
     {
         this.cachedBasicSprite = GameObjectExtension.GetComponentEvenIfDeactive <UIBasicSprite>(base.gameObject);
     }
 }
 protected override void Awake()
 {
     if (this.cachedAtlasSkinner == null)
     {
         this.cachedAtlasSkinner = GameObjectExtension.GetComponentEvenIfDeactive <UIAtlasSkinner>(base.gameObject);
     }
     if (this.cachedAtlas == null)
     {
         this.cachedAtlas = GameObjectExtension.GetComponentEvenIfDeactive <UISprite>(base.gameObject);
     }
 }