Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity c# get bool from another script

GameObject.Find("NAMEOFOBJECTWITHCOMPONENT").GetComponent<NAMEOFSCRIPT>().NAMEOFBOOL
 
PREVIOUS NEXT
Tagged: #unity #bool #script
ADD COMMENT
Topic
Name
6+2 =