add getslot |
m fix titles, gallery |
||
(One intermediate revision by one other user not shown) | |||
Line 16: | Line 16: | ||
== Inputs == | == Inputs == | ||
=== Component === | === Component ([[Type:IComponent|IComponent]]) === | ||
The [[Type:IComponent | component]] you want to find the slot of. | The [[Type:IComponent|component]] you want to find the slot of. | ||
== Outputs == | == Outputs == | ||
=== * === | === * [[Slot|Slot]] === | ||
The [[ | The ([[Slot|Slot]]) the component is attached to. | ||
== Examples == | == Examples == | ||
<gallery widths=480px heights=480px> | |||
File:GetSlotExample.png | Simple flux example of GetSlot on an empty object having a single ObjectRoot component. | |||
</gallery> | |||
[[Category:ProtoFlux:Slots]] | [[Category:ProtoFlux:Slots]] |
Latest revision as of 02:12, 10 February 2024
Get Slot
Slots
Returns the slot the specified component is attached on.
Inputs
Component (IComponent)
The component you want to find the slot of.
Outputs
* Slot
The (Slot) the component is attached to.
Examples
-
Simple flux example of GetSlot on an empty object having a single ObjectRoot component.