Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to have referecne to script in unity

private GameObject player;
player.GetComponent<PlayerMovement>().enabled = false;
 
PREVIOUS NEXT
Tagged: #referecne #script #unity
ADD COMMENT
Topic
Name
8+3 =