|
How Do i get the variables from the customEditor to my script.
// The Class the using the editor. This script says that the variables dosent exist
(comments are locked)
|
|
The problem is you are changing seetings on your editor itself rather than the object you want to edit. You need to move all the properties over to Weapon and make them public. Then use the target property of the editor to get at the instance of the Weapon you are editing.
(comments are locked)
|
