Question by
Thomas-Towne · May 30, 2019 at 05:15 PM ·
cs0103
compiler error CS0103 The name 'CheckedBox' does not exist in the current context
Hello, I am trying to make a certain game object that exists in my project appear when I click a different object.
This is my code...
// Update is called once per frame
void Update()
{
if (Input.GetMouseButtonDown(0))
{
CheckedBox.SetActive(true);
}
}
The game object exists in my project, but my code does not seem to recognize it, Can someone please help me.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612202349im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Error CS0103 : Array name "does not exist" if I initialize it in Start function 1 Answer
Error CS 0103 "Debug does not exist in the current context" 0 Answers
error CS0103: The name `renderer' does not exist in the current context 2 Answers
CS 0103 UnityEditor does not exist in the current context 0 Answers