This isnt working
otherObject.GetComponent().enabled = false;
What script are you trying to disable?
If what I think you are doing then;
otherObject.GetComponent<ScriptName>().enabled = false;
This isnt working
otherObject.GetComponent().enabled = false;
What script are you trying to disable?
If what I think you are doing then;
otherObject.GetComponent<ScriptName>().enabled = false;