add sync delegate desc |
add info |
||
Line 3: | Line 3: | ||
|Name=Proto Flux Impulse List Manager | |Name=Proto Flux Impulse List Manager | ||
}} | }} | ||
The '''ProtoFluxImpulseListManager''' component is used to manage lists and their visuals like in the sequence ProtoFlux node. | |||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Visual|'''[[Component:ProtoFluxNodeVisual|ProtoFluxNodeVisual]]'''|TypeAdv0=true| | |Visual|'''[[Component:ProtoFluxNodeVisual|ProtoFluxNodeVisual]]'''|TypeAdv0=true| The visual of the protoflux node this is making a list for. | ||
|List|{{RootFieldType|RelayRef`1|[[Type:ISyncList|ISyncList]]}}|TypeAdv1=true| | |List|{{RootFieldType|RelayRef`1|[[Type:ISyncList|ISyncList]]}}|TypeAdv1=true| The list this is managing and making a UI for. | ||
|MinElements|Int| | |MinElements|Int| The minimum elements allowed in the list. | ||
|AddButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| | |AddButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| The enabled field of adding a list item. | ||
|RemoveButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| | |RemoveButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| The enabled field of removing a list item. | ||
|_elements|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv5=true| | |_elements|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv5=true| The list of elements defining the impulse connectors. | ||
|ImpulseType|'''[[Type:Nullable`1|Nullable`1]]<[[Type:ImpulseType|ImpulseType]]>'''|TypeAdv6=true| | |ImpulseType|'''[[Type:Nullable`1|Nullable`1]]<[[Type:ImpulseType|ImpulseType]]>'''|TypeAdv6=true| The type of impulse this is using (ex: Async or normal) | ||
}} | }} | ||
Line 23: | Line 23: | ||
== Usage == | == Usage == | ||
Used in nodes like the sequence and async sequence nodes. | |||
== Examples == | == Examples == | ||
== See Also == | == See Also == | ||
* [[ProtoFlux]] | |||
[[Category:Components:Uncategorized{{#translation:}}|Proto Flux Impulse List Manager]] | [[Category:Components:Uncategorized{{#translation:}}|Proto Flux Impulse List Manager]] | ||
[[Category:Components{{#translation:}}|Proto Flux Impulse List Manager]] | [[Category:Components{{#translation:}}|Proto Flux Impulse List Manager]] | ||
Latest revision as of 20:31, 23 July 2025
Component image 
Proto Flux Impulse List Manager component as seen in the Scene Inspector

The ProtoFluxImpulseListManager component is used to manage lists and their visuals like in the sequence ProtoFlux node.
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. Some components stop their functionality when this field is disabled, but some don't. |
Visual
|
ProtoFluxNodeVisual | The visual of the protoflux node this is making a list for. |
List
|
direct RelayRef`1<ISyncList> | The list this is managing and making a UI for. |
MinElements
|
Int | The minimum elements allowed in the list. |
AddButtonEnabled
|
field drive of Bool | The enabled field of adding a list item. |
RemoveButtonEnabled
|
field drive of Bool | The enabled field of removing a list item. |
_elements
|
list of Slot | The list of elements defining the impulse connectors. |
ImpulseType
|
Nullable`1<ImpulseType> | The type of impulse this is using (ex: Async or normal) |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
AddElement:ButtonEventHandler
|
ButtonEventHandler | X | Called when the add element button is touched. |
RemoveElement:ButtonEventHandler
|
ButtonEventHandler | X | Called when the remove element button is touched. |
Usage
Used in nodes like the sequence and async sequence nodes.