コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetButton("Tap"))
     {
         iTween.Resume(player);
         iTween.Resume(electron);
         iTween.Resume(STC);
         iTween.Resume(elec2);
         iTween.Resume(elec3);
         iTween.Resume(elec4);
         iTween.Resume(hone);
         iTween.Resume(htwo);
         iTween.FadeTo(membInfo, 0f, 0.5f);
         iTween.FadeTo(mtrcabInfo, 0f, 0.5f);
         iTween.FadeTo(STCinfo, 0f, 0.5f);
         iTween.FadeTo(CYMAInfo, 0f, 0.5f);
         iTween.FadeTo(QUINOLInfo, 0f, 0.5f);
         iTween.FadeTo(HInfo, 0f, 0.5f);
         if (count >= 2)
         {
             HowLook.CrossFadeAlpha(1.0f, 1.0f, false);
         }
         if (count >= 7)
         {
             FirstPer.CrossFadeAlpha(1.0f, 1.0f, false);
         }
         if (count >= 8)
         {
             Fin.CrossFadeAlpha(1.0f, 1.0f, false);
         }
     }
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     iTween.MoveTo(player, iTween.Hash("path", iTweenPath.GetPath("toShew"),
                                       "time", 3,
                                       "easetype", iTween.EaseType.easeInOutSine,
                                       "oncomplete", "showShewInfo"));
     iTween.Pause(player);
     HowLook.CrossFadeAlpha(0.0f, 0.0f, false);
     FirstPer.CrossFadeAlpha(0.0f, 0.0f, false);
     Fin.CrossFadeAlpha(0.0f, 0.0f, false);
     count++;
 }