예제 #1
0
    public void MainMenu()
    {
        Step0.SetActive(false);
        Step1.SetActive(false);
        Step2.SetActive(false);
        Step3.SetActive(false);
        Step4.SetActive(false);
        Step5.SetActive(false);

        StartButton.SetActive(true);
        Hide1.SetActive(false);
        Next1.SetActive(false);
        Previous1.SetActive(false);
    }
예제 #2
0
 public void StepFive()
 {
     Debug.Log("StepFiveInit");
     Step0.SetActive(false);
     Step1.SetActive(false);
     Step2.SetActive(false);
     Step3.SetActive(false);
     Step4.SetActive(false);
     Step5.SetActive(true);
     StartButton.SetActive(false);
     Hide1.SetActive(true);
     Next1.SetActive(true);
     Previous1.SetActive(true);
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     Time.fixedDeltaTime = 0.5f;
     Step1.SetActive(false);
     Step2.SetActive(false);
     Step3.SetActive(false);
     Step4.SetActive(false);
     Step5.SetActive(false);
     Step6.SetActive(false);
     Step7.SetActive(false);
     Step8.SetActive(false);
     Step9.SetActive(false);
     currenttime = Time.time;
     printcount  = 0;
     loop        = -1;
 }
예제 #4
0
    public void StepOne()
    {
        Marker1.SetActive(true);
        Marker2.SetActive(true);
        Debug.Log("StepOneInit");
        FindObjectOfType <DistanceCalculator>();
        Step0.SetActive(false);
        Step1.SetActive(true);
        Step2.SetActive(false);
        Step3.SetActive(false);
        Step4.SetActive(false);
        Step5.SetActive(false);

        StartButton.SetActive(false);
        Hide1.SetActive(true);
        Next1.SetActive(true);
        Previous1.SetActive(false);
    }
예제 #5
0
        private static void MainSafe(Arguments arguments)
        {
            var targetDirectoryPath = arguments.TargetDirectoryPath;

            IImmutableDictionary <AssemblyShortName, AssemblyDetails> mainAssemblies;
            IImmutableDictionary <AssemblyShortName, AssemblyDetails> usedRoslynAssemblies;
            IImmutableDictionary <AssemblyShortName, string>          roslynAssemblyPaths;
            IImmutableDictionary <AssemblyShortName, IImmutableSet <PackageInfo> > roslynPackageMap;
            IImmutableDictionary <AssemblyShortName, AssemblyDetails> othersReferencedByRoslyn;

            Step1.CollectMainAssemblies(arguments.SourceProjectAssemblyDirectoryPath, out mainAssemblies);
            Step2.CollectRoslynAssemblies(arguments.RoslynBinariesDirectoryPath, ref mainAssemblies, out usedRoslynAssemblies, out roslynAssemblyPaths);
            Step3.CollectRoslynPackageReferences(arguments.RoslynBinariesDirectoryPath, out roslynPackageMap);
            Step4.CollectRoslynReferences(ref usedRoslynAssemblies, roslynAssemblyPaths, ref mainAssemblies, roslynPackageMap, out othersReferencedByRoslyn);

            Step5.CleanTargetDirectory(arguments.TargetDirectoryPath);

            Step6.CopyAssembliesReferencedByRoslyn(othersReferencedByRoslyn, targetDirectoryPath);
            Step7.CopyRoslynAssemblies(usedRoslynAssemblies, targetDirectoryPath);
            Step8.RewriteAndCopyMainAssemblies(mainAssemblies, targetDirectoryPath, usedRoslynAssemblies);
            Step9.UpdateBindingRedirects(arguments.TargetApplicationConfigurationPath, othersReferencedByRoslyn.Values);
        }
예제 #6
0
 void FixedUpdate()
 {
     if (loop >= 0 && loop < 1)
     {
         if (printcount % 11 == 0)
         {
             Step1.SetActive(true);
             Step2.SetActive(false);
             Step3.SetActive(false);
             Step4.SetActive(false);
             Step5.SetActive(false);
             Step6.SetActive(false);
             Step7.SetActive(false);
             Step8.SetActive(false);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 1)
         {
             Step1.SetActive(false);
             Step2.SetActive(true);
             Step3.SetActive(false);
             Step4.SetActive(false);
             Step5.SetActive(false);
             Step6.SetActive(false);
             Step7.SetActive(false);
             Step8.SetActive(false);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 2)
         {
             Step1.SetActive(false);
             Step2.SetActive(false);
             Step3.SetActive(true);
             Step4.SetActive(false);
             Step5.SetActive(false);
             Step6.SetActive(false);
             Step7.SetActive(false);
             Step8.SetActive(false);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 3)
         {
             Step1.SetActive(false);
             Step2.SetActive(false);
             Step3.SetActive(false);
             Step4.SetActive(true);
             Step5.SetActive(false);
             Step6.SetActive(false);
             Step7.SetActive(false);
             Step8.SetActive(false);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 4)
         {
             Step1.SetActive(false);
             Step2.SetActive(false);
             Step3.SetActive(false);
             Step4.SetActive(false);
             Step5.SetActive(true);
             Step6.SetActive(false);
             Step7.SetActive(false);
             Step8.SetActive(false);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 5)
         {
             Step1.SetActive(false);
             Step2.SetActive(false);
             Step3.SetActive(false);
             Step4.SetActive(false);
             Step5.SetActive(false);
             Step6.SetActive(true);
             Step7.SetActive(false);
             Step8.SetActive(false);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 6)
         {
             Step1.SetActive(false);
             Step2.SetActive(false);
             Step3.SetActive(false);
             Step4.SetActive(false);
             Step5.SetActive(false);
             Step6.SetActive(false);
             Step7.SetActive(true);
             Step8.SetActive(false);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 7)
         {
             Step1.SetActive(false);
             Step2.SetActive(false);
             Step3.SetActive(false);
             Step4.SetActive(false);
             Step5.SetActive(false);
             Step6.SetActive(false);
             Step7.SetActive(false);
             Step8.SetActive(true);
             Step9.SetActive(false);
         }
         else if (printcount % 11 == 8)
         {
             Step1.SetActive(false);
             Step2.SetActive(false);
             Step3.SetActive(false);
             Step4.SetActive(false);
             Step5.SetActive(false);
             Step6.SetActive(false);
             Step7.SetActive(false);
             Step8.SetActive(false);
             Step9.SetActive(true);
             loop++;
         }
         printcount++;
     }
     if (loop == 1)
     {
         SceneManager.LoadScene("Game3", LoadSceneMode.Single);
     }
 }
예제 #7
0
 public ActionResult Step6(Step5 step4)
 {            
     return View();
 }