public void OnDiceChanged(Die die) { DieImage.sprite = MasterManager.Instance.ResourceManager.GetSpriteByDieFace(die.DieFace); FreezeToggle.isOn = die.IsFrozen; LockToggle.isOn = die.IsLocked; }
public void OnDieRemoved(Die die) { die.UnregisterOnDieChangedCallback(OnDieChanged); }
public void OnDieChanged(Die die) { OnStatChange(); }
//DICE public void OnDieAdded(Die die) { die.RegisterOnDieChangedCallback(OnDieChanged); }