Beispiel #1
0
 private void UpdateViews(object _, DeityEventArgs currentDeity)
 {
     _deityEditControl.UpdateValues(currentDeity.Deity);
     if (currentDeity.Deity == null)
     {
         return;
     }
     _deityDetailControl.UpdateValues(currentDeity.Deity);
 }
Beispiel #2
0
 public void ChangeCurrentDeity(object _, DeityEventArgs currentDeityArgs)
 {
     if (currentDeityArgs.Deity != null &&
         currentDeityArgs.Deity.identifier == GetIdentifier())
     {
         button.GetComponent <Image>().color = Color.red;
     }
     else
     {
         button.GetComponent <Image>().color = Color.white;
     }
 }