Exemple #1
0
 /// Initiates all visuals for this promo.
 /// Only by PromoManager should call this method to ensure only one shows at a time.
 public void Display()
 {
     m_Request = RequestingState.None;
     if (m_HintObject)
     {
         m_HintObject.Activate(true);
     }
     OnDisplay();
 }
Exemple #2
0
 /// Returns this promo to a dormant state. Should disable all visuals.
 /// Only called by PromoManager.
 public void Hide()
 {
     m_Request = RequestingState.None;
     if (m_HintObject)
     {
         m_HintObject.Activate(false);
     }
     OnHide();
 }