Basic info |
add info |
||
Line 3: | Line 3: | ||
|Name=External Slot Saver | |Name=External Slot Saver | ||
}} | }} | ||
The ExternalSlotSaver will ensure that the <code>TargetSlot</code> is saved as a child of the slot this component is on if the slot isn't already in the hierarchy. | |||
The ExternalSlotSaver will ensure that the | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|TargetSlot|Slot| | |TargetSlot|Slot| The slot to target when saving. | ||
|SaveActiveSelfOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Bool|Bool]]>'''|TypeAdv1=true| | |SaveActiveSelfOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Bool|Bool]]>'''|TypeAdv1=true| When not null, save this rather than <code>TargetSlot</code>'s current active self value. | ||
|SaveLocalPositionOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv2=true| | |SaveLocalPositionOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv2=true| When not null, save this rather than <code>TargetSlot</code>'s current position value. | ||
|SaveLocalRotationOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:FloatQ|FloatQ]]>'''|TypeAdv3=true| | |SaveLocalRotationOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:FloatQ|FloatQ]]>'''|TypeAdv3=true| When not null, save this rather than <code>TargetSlot</code>'s current rotation value. | ||
|SaveLocalScaleOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv4=true| | |SaveLocalScaleOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv4=true| | ||
|IgnoreWhenNonPersistentSelf|Bool| | |IgnoreWhenNonPersistentSelf|Bool| When not null, save this rather than <code>TargetSlot</code>'s current scale value. | ||
}} | }} | ||
== | == Usage == | ||
== Examples == | == Examples == | ||
Line 24: | Line 23: | ||
[[Category:Components:Utility{{#translation:}}|External Slot Saver]] | [[Category:Components:Utility{{#translation:}}|External Slot Saver]] | ||
[[Category:Components{{#translation:}}|External Slot Saver]] | [[Category:Components{{#translation:}}|External Slot Saver]] | ||
Revision as of 04:42, 23 December 2024
Component image
The ExternalSlotSaver will ensure that the TargetSlot
is saved as a child of the slot this component is on if the slot isn't already in the hierarchy.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
TargetSlot
|
Slot | The slot to target when saving. |
SaveActiveSelfOverride
|
Nullable`1<Bool> | When not null, save this rather than TargetSlot 's current active self value.
|
SaveLocalPositionOverride
|
Nullable`1<Float3> | When not null, save this rather than TargetSlot 's current position value.
|
SaveLocalRotationOverride
|
Nullable`1<FloatQ> | When not null, save this rather than TargetSlot 's current rotation value.
|
SaveLocalScaleOverride
|
Nullable`1<Float3> | |
IgnoreWhenNonPersistentSelf
|
Bool | When not null, save this rather than TargetSlot 's current scale value.
|