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 SetDeleteCallback(BagpackDeleteCallback bagpackDeleteCallback) { this.bagpackDeleteCallback = bagpackDeleteCallback; }