Component:AssetMultiplexer: Difference between revisions

From Resonite Wiki
imported>Psychpsyo
m added word
 
m ProbablePrime moved page AssetMultiplexer (Component) to Component:AssetMultiplexer: Creating component Namespace
(No difference)

Revision as of 06:33, 20 January 2024


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


Component image 
Asset Multiplexer`1 component as seen in the Scene Inspector


The AssetMultiplexer component is used to drive a field to one asset from a list, based on its position in the list.

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.
Target AssetRef<ITexture2D> The field to drive.
Index Int Which element in Assets to drive to Target
Assets SyncAssetList<ITexture2D> The list of assets to multiplex between.

Usage

Examples

Related Issues

#247 - Allow importing a complete directory into a AssertMultiplexer

Related Components