Exemplo n.º 1
0
 /// <summary>
 /// Treated as a cleanup method of sorts, this cleans up certain members of this inventory.
 /// </summary>
 public virtual void OnDisable()
 {
     ItemAdded.RemoveAllListeners();
     ItemRemoved.RemoveAllListeners();
     ContentChanged.RemoveAllListeners();
     Debug.Log(this.name + " OnDisable()!");
 }