示例#1
0
 public void Update()
 {
     if (ConstructDisplayed.Main())
     {
         ConstructDisplayed.ReConfigure();
     }
     else
     {
         if (spin >= 360)
         {
             spin = 0.5f;
         }
         spin      += 0.5f;
         DisplayRot = spin;
         transform.localRotation = Quaternion.Euler(0, DisplayRot, 0);
     }
 }
 void Update()
 {
     if (this == PlayerList[PlayerBingUsed])
     {
         if (CurrentConstruct != null)
         {
             if (CurrentConstruct.Main())
             {
                 CurrentConstruct.ReConfigure();
             }
             else
             {
                 ChangingConfigureation = false;
                 Menu.MainLoop();
                 CurrentConstruct.Controlles();
             }
         }
     }
 }