What is Mono Behaviour?

Posted by Starkers on Stack Overflow See other posts from Stack Overflow or by Starkers
Published on 2014-06-06T18:45:22Z Indexed on 2014/06/06 21:26 UTC
Read the original article Hit count: 236

Filed under:

I'm getting this message multiple times when I try to run my game:

The referenced script on this Behaviour is missing

For some reason, all my prefabs are missing a script that dictates something called their 'Mono Behaviour':

contextual inspector

What is the Mono Behaviour component, and what does it do?

How can I fix this error? I can click the little target circle to bring up all my scripts, but that just gives me all of the scripts that I've written:

project assets

So I don't really know how to replace my missing Mono Behaviour script... Maybe if I knew what it was I could have a clue how to fix it.

I probably moved something. But how can I select the Mono Behaviour script (whatever it is) if the target just shows me my scripts?

Update

I've moved some assets in the project window, but not via the OS (Finder/Explorer) so why is this happening?

Also I am told that Mono Behaviour is a script I've applied...

Don't really get this...isn't the script component a reference to a script?

components

© Stack Overflow or respective owner

Related posts about unity3d