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
asked May 07 '11 at 09:19 AM
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.
answered May 07 '11 at 06:29 PM