Difference between revisions of "Component Overview"

From Neos Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
A component is a module that defines the behavior of objects. All objects in Neos consist of [[Slot|slots]], which are containers that hold components. An object in Neos is comprised of a slot and a set of components attached to that slot.
+
A component is a module that defines the behavior of objects. All objects in Neos consist of [[Slot|slots]], which are containers that hold components. An object in Neos is comprised of a slot and a set of components attached to that slot. The core concepts behind components in Neos function are similar to those in [https://docs.unity3d.com/Manual/Components.html Unity's component system], with a few small differences.
  
 
An example of a component is the [[Grabbable_(Component)|Grabbable]] component. Without this component, objects would not be grabbable by players. Adding the component and tweaking its parameters allows the object it is attached to to be grabbed.
 
An example of a component is the [[Grabbable_(Component)|Grabbable]] component. Without this component, objects would not be grabbable by players. Adding the component and tweaking its parameters allows the object it is attached to to be grabbed.
  
 
The parameters of a component can be adjusted to alter the functionality of a component. The parameters present on a component will vary depending on the component that you are using. For a WIP documentation on Neos' components, check the [[:Category:Components|Components List]].
 
The parameters of a component can be adjusted to alter the functionality of a component. The parameters present on a component will vary depending on the component that you are using. For a WIP documentation on Neos' components, check the [[:Category:Components|Components List]].

Revision as of 23:01, 5 March 2021

A component is a module that defines the behavior of objects. All objects in Neos consist of slots, which are containers that hold components. An object in Neos is comprised of a slot and a set of components attached to that slot. The core concepts behind components in Neos function are similar to those in Unity's component system, with a few small differences.

An example of a component is the Grabbable component. Without this component, objects would not be grabbable by players. Adding the component and tweaking its parameters allows the object it is attached to to be grabbed.

The parameters of a component can be adjusted to alter the functionality of a component. The parameters present on a component will vary depending on the component that you are using. For a WIP documentation on Neos' components, check the Components List.