Пример #1
0
 public void ShowSecondary(GameObject obj)
 {
     secondaryPanel.Display(obj);
     Clear(secondaryStatusEntries);
     foreach (StatusEffect eff in obj.GetComponentsInChildren <StatusEffect>())
     {
         StatusIndicatorEntry entry = Dequeue(secondaryPanel);
         entry.Title = eff.GetType().Name.TrimStart(new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '_' });
         PrepareRankIndicator(entry, eff.Rank);
         PrepareDurationIndicator(entry, eff.GetComponentInChildren <DurationStatusCondition>());
         secondaryStatusEntries.Add(entry);
     }
     MovePanel(secondaryPanel, ShowKey, ref secondaryTransition);
 }
Пример #2
0
 public void ShowSecondary(GameObject obj)
 {
     secondaryPanel.Display(obj);
     MovePanel(secondaryPanel, ShowKey, ref secondaryTransition);
 }
Пример #3
0
 public void ShowPrimary(GameObject obj)
 {
     primaryPanel.Display(obj);
     MovePanel(primaryPanel, ShowKey, ref primaryTransition);
 }
Пример #4
0
 public void ShowSecondary(GameObject obj)
 {
     secondaryStatPanel.Display(obj);
     MovePanel(secondaryStatPanel, ShowKey, ref secondaryPanelTweener);
 }
Пример #5
0
 public void ShowPrimary(GameObject obj)
 {
     primaryStatPanel.Display(obj);
     MovePanel(primaryStatPanel, ShowKey, ref primaryPanelTweener);
 }