Script bug ("sript" is not a member of UnityEngine.Component)
( as script i will take the name : ExampleScript) So day 1 all my scripts were working right, i could play my game... But the day after i tried again. Opened up Unity and all my script got the error ExampleScript is not a member of 'UnityEngine.Component' how do i fix this... ?
All help appreciated...
Answer by UnrealSoftware · Aug 31, 2015 at 11:12 AM
It would help a lot if you could show us the script and where/how you're using it. Maybe you forgot to let your class inherit from MonoBehavior / ScriptableObject?
Your answer
Follow this Question
Related Questions
Errors and errors... Need help! 0 Answers
Expression denotes a type where a variable, value or method group was expected. 0 Answers
Whats wrong with this? 0 Answers
Namespace error from external assets 0 Answers
Constant bad image errors! 0 Answers