Esempio n. 1
0
        private void Awake()
        {
            this.IsEmpty    = true;
            this.icon       = this.gameObject.GetComponentsInChildren <Image>()[1];
            this.iconRarity = this.gameObject.GetComponentsInChildren <Image>()[2];

            this.bagpackDeleteCallback   = null;
            this.bagpackInfoCallback     = null;
            this.bagpackActivateCallback = null;
            this.item = null;
        }
Esempio n. 2
0
 public void SetInfoCallback(BagpackInfoCallback bagpackInfoCallback)
 {
     this.bagpackInfoCallback = bagpackInfoCallback;
 }