コード例 #1
0
ファイル: EIcon.cs プロジェクト: uzoko1/Memoria
 public static void ProcessAIcon()
 {
     if (s_AIconMode > 0 && ((s_AIconMode & 4) > 0 || PersistenSingleton <EventEngine> .Instance.GetUserControl()))
     {
         ++s_AIconTimer;
         if ((s_AIconMode & 3) != 2)
         {
             s_currentAte = ATEType.Blue;
             ShowAIcon(true, s_currentAte);
         }
         else
         {
             if ((s_AIconTimer / 15 & 1) <= 0)
             {
                 return;
             }
             s_currentAte = ATEType.Gray;
             ShowAIcon(true, s_currentAte);
         }
     }
     else
     {
         ShowAIcon(false, s_currentAte);
     }
 }
コード例 #2
0
ファイル: EIcon.cs プロジェクト: Zer0Ph34r/GUI_Branch
 static EIcon()
 {
     dialogBubble         = false;
     dialogAlternativeKey = false;
     processFIcon         = true;
     recheckScript        = false;
     hereIconShow         = false;
     ShowDelay            = 0.0f;
     HideDelay            = 0.0f;
     worldActorOffset     = new Vector3(0.0f, 1.8f, 0.0f);
     currentATE           = ATEType.Blue;
 }
コード例 #3
0
 private void SetCurrentATESprite(ATEType ateType)
 {
     this.currentType = ateType;
     if (ateType != ATEType.Blue)
     {
         if (ateType != ATEType.Gray)
         {
             this.currentFuntion = String.Empty;
         }
         else
         {
             this.currentFuntion = "DisplayGrayATEText";
         }
     }
     else
     {
         this.currentFuntion = "DisplayBlueATEText";
     }
 }
コード例 #4
0
 public void EnableATE(Boolean isEnable, ATEType ateType)
 {
     if (isEnable)
     {
         if (!base.gameObject.activeSelf)
         {
             base.gameObject.SetActive(true);
             base.StopCoroutine("DisplayBlueATEText");
             base.StopCoroutine("DisplayGrayATEText");
             if (this.mStart)
             {
                 this.SetIcon();
             }
             this.SetCurrentATESprite(ateType);
             this.SetSpriteVisibility(false);
             this.PressSelectSprite.SetActive(false);
             this.isReady = true;
         }
     }
     else if (base.gameObject.activeSelf)
     {
         base.gameObject.SetActive(false);
     }
 }
コード例 #5
0
ファイル: EIcon.cs プロジェクト: uzoko1/Memoria
 public static void ShowAIcon(bool isActive, ATEType type)
 {
     UIManager.Field.EnableATE(isActive, type);
 }
コード例 #6
0
ファイル: FieldHUD.cs プロジェクト: ArtReeX/memoria
 public void EnableATE(Boolean isEnable, ATEType ateType)
 {
     ATEGameObject.GetComponent <ActiveTimeEvent>().EnableATE(isEnable, ateType);
 }
コード例 #7
0
 public void EnableATE(bool isEnable, ATEType ateType)
 {
     this.ATEGameObject.GetComponent <ActiveTimeEvent> ().EnableATE(isEnable, ateType);
 }