예제 #1
0
 // Update is called once per frame
 public void ChangeState()
 {
     Debug.Log("??");
     if (agentMode)
     {
         AgentMode.SetActive(false);
         CreatorMode.SetActive(true);
         SensorUi.SetActive(true);
         agentMode      = false;
         StateText.text = "Mode: ModifyAgentMode";
         AgentControl.SensorAt.HandleMode(true);
     }
     else
     {
         AgentMode.SetActive(true);
         CreatorMode.SetActive(false);
         SensorUi.SetActive(false);
         agentMode      = true;
         StateText.text = "Mode: AgentPlayMode";
         AgentControl.SensorAt.HandleMode(false);
         itemPrevScript.DefaultSet();
     }
 }
예제 #2
0
 private void PlaceSensor()
 {
     Debug.Log("UWU");
     ItemPreviewerScript.DefaultSet();
 }