Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to reference scripts in other scenes unity

//you can use this to preserve scripts when loading new scene
DontDestroyOnLoad();
 
PREVIOUS NEXT
Tagged: #reference #scripts #scenes #unity
ADD COMMENT
Topic
Name
3+7 =