// 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(); } }
private void PlaceSensor() { Debug.Log("UWU"); ItemPreviewerScript.DefaultSet(); }