![]() ![]() ![]() enable the component with id 'weapon' msg. If you wish to disable a component this is done by sending a disable message to the component: The components of a game object are enabled when the game object is created. Sprite - Show a 2D image (with optional flipbook animation)Īdditional components can be added through extensions:.Model Show a 3D model (with optional animations).Mesh Show a 3D mesh (with run-time creation and manipulation).GUI - Render a graphical user interface.Camera - Change the viewport and projection of the game world.Collection proxy - Load and unload collections.In most cases it makes most sense to create components in-place, but the following component types must be created in separate resource files before being added by reference to a game object:ĭefold supports the following component types: ![]() Right-click the game object in the Outline view and select Add Component (add in-place) or Add Component File (add as file reference). play ( "bean#hoohoo", )Ĭomponents are either added in-place in a game object, or added to a game object as a reference to a component file: post ( "can#body", "disable" ) - play "hoohoo" sound on "bean" in 1 second sound. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |