- Home /
Question by
Htss_samy · Jun 21, 2019 at 10:58 AM ·
unityeditor
how to set script variable by editor script
i want set state variable to true in editor script but the variable declare in another script.i had create menu event in editor script by [MenuItem("Mymenu/Start")].when i click the menu option it should set variable. scripts are follow link.
This is normal script
https://drive.google.com/open?id=1XLSPV9M0W8NLbg7pPEybTGWTe7cd9Cv8
This is Editor Script
https://drive.google.com/open?id=1i2gdfkNI8dc6No5eMc4sLsWDT7UyxeHo
Comment
Your answer
