(One intermediate revision by one other user not shown)
Line 3:
Line 3:
|Name=Worker Inspector
|Name=Worker Inspector
}}
}}
{{stub}}
A worker inspector (as opposed to [[Scene Inspector]]) is an inspector which only shows a single worker such as a component. When you grab a component reference and click Primary it will usually create one of these inspectors. You can grab sub-objects from some components which will create one of these inspectors when clicking Primary. Some workers are only obtainable via Ref Hacking which is one of the [[Things to Avoid]].
A worker inspector (as opposed to [[Scene Inspector]]) is an inspector which only shows a single worker such as a component. When you grab a component reference and click Primary it will usually create one of these inspectors. You can grab sub-objects from some components which will create one of these inspectors when clicking Primary. Some workers are only obtainable via Ref Hacking which is one of the [[Things to Avoid]].
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|_targetContainer|Worker|
|_targetContainer|Worker| The container which holds this component or proto component (FrooxEngine.ComponentBase).
|_workerFilter|{{RootFieldType|SyncDelegate`1|[[Type:Predicate`1|Predicate`1]]<[[Type:Worker|Worker]]>}}|TypeAdv1=true| A filter to apply to the workers displayed.
|_targetWorker|Worker|
|_targetWorker|Worker| The component or proto component (FrooxEngine.ComponentBase) to view.
|OnWorkerTypePressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|true| Handles when the type for the worker is pressed.
|OnRemoveComponentPressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|true| Handles when the user asks to delete the viewed component or proto component (FrooxEngine.ComponentBase).
|OnDuplicateComponentPressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|true| Handles when the user asks to duplicate the viewed component or proto component (FrooxEngine.ComponentBase).
|OnOpenContainerPressed:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Worker|Worker]]>|true| Handles when the user asks to open the containing worker for the viewed component or proto component (FrooxEngine.ComponentBase).
}}
}}
== Behavior ==
== Usage ==
{{stub}}
== Examples ==
== Examples ==
Is seen when viewing user or slot components, like user streams or any slot components like listed in [[:Category:Components|Components]].
A worker inspector (as opposed to Scene Inspector) is an inspector which only shows a single worker such as a component. When you grab a component reference and click Primary it will usually create one of these inspectors. You can grab sub-objects from some components which will create one of these inspectors when clicking Primary. Some workers are only obtainable via Ref Hacking which is one of the Things to Avoid.