private void OnResumePackage(object sender, ProjectMetaEventArgs args)
 {
     ResumeBtn.gameObject.SetActive(false);
     PauseBtn.gameObject.SetActive(true);
     PauseBtn.SetInteractivity(true);
     StepBtn.SetInteractivity(false, "Step to next action\n(Only available when progam is paused)");
 }
 private void OnPausePackage(object sender, ProjectMetaEventArgs args)
 {
     ResumeBtn.gameObject.SetActive(true);
     PauseBtn.gameObject.SetActive(false);
     ResumeBtn.SetInteractivity(true);
     StepBtn.SetInteractivity(true);
 }
 private void OnOpenProjectRunning(object sender, ProjectMetaEventArgs args)
 {
     EditorInfo.text = "Package: \n" + args.Name;
     UpdateVisibility();
 }
Example #4
0
 private void OnRunPackage(object sender, ProjectMetaEventArgs args)
 {
     editorInfo.text = "Running: " + args.Name;
 }
Example #5
0
 private void OnPausePackage(object sender, ProjectMetaEventArgs args)
 {
     editorInfo.text = "Paused: " + args.Name;
 }
Example #6
0
 private void OnOpenProjectRunning(object sender, ProjectMetaEventArgs args)
 {
     RunningProjectControls.SetActive(true);
     ResumeBtn.SetActive(false);
     PauseBtn.SetActive(true);
 }
Example #7
0
 private void OnPausePackage(object sender, ProjectMetaEventArgs args)
 {
     PauseBtn.SetActive(false);
     ResumeBtn.SetActive(true);
 }
Example #8
0
 private void ActivateArrow(object sender, ProjectMetaEventArgs args)
 {
     gameObject.SetActive(true);
 }