Component:DuplicateBlock: Difference between revisions

From Resonite Wiki
m typo
Updated description, added links.
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:


<!--T:2-->
<!--T:2-->
Blocks duplication of a [[Grabbable (Component)|Grabbable]] item using the [[Context menu]]
The '''Duplicate Block''' component blocks duplication of a [[Grabbable (Component)|Grabbable]] [[Slot|slot]] [[Tag|tagged]] with this component by using the [[Context menu]], but not via the [[Scene Inspector]] or [[ProtoFlux]].


== Fields ==
== Fields ==
Line 20: Line 20:
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Can be used to prevent users from duplicating cards during a card game, or for other key items that need to stay unique.


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Duplicate Block]]
[[Category:Components{{#translation:}}|Duplicate Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|Duplicate Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|Duplicate Block]]

Latest revision as of 22:27, 20 March 2025


This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Component image 
Duplicate Block component as seen in the Scene Inspector

The Duplicate Block component blocks duplication of a Grabbable slot tagged with this component by using the Context menu, but not via the Scene Inspector or ProtoFlux.

Fields

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.

Usage

Examples

Can be used to prevent users from duplicating cards during a card game, or for other key items that need to stay unique.

Related Components