Answers for "how to make a bool appear in all scripts unity"

10

unity c# get bool from another script

GameObject.Find("NAMEOFOBJECTWITHCOMPONENT").GetComponent<NAMEOFSCRIPT>().NAMEOFBOOL
Posted by: Guest on March-22-2020
2

how to make a bool appear in all scripts unity

// The Parts in ALL CAPS are the parts you need to fill in
GameObject.Find("NAMEOFGAMEOBJECTWITHCOMPONENT").GetComponent<SCRIPTNAME>().NAMEOFBOOL
Posted by: Guest on January-05-2021

Code answers related to "how to make a bool appear in all scripts unity"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language