Jump to content

How do I attach a script to an object?


Recommended Posts

I figured out how to import mesh objects into the game. Basically you need to drag and drop the .dae to a folder, however I'm having trouble figuring out how to actually attach a script to the object to say create a door. I want to create custom object scripts in my game so that way I can create custom functions. I just need help getting started. Thanks! Also do they need to compiled as a c# binary?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...