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; }
public void SetInfoCallback(BagpackInfoCallback bagpackInfoCallback) { this.bagpackInfoCallback = bagpackInfoCallback; }