Skip to main content

Tap Screen to Cycle Materials

Shows the target object’s materials one at a time when the screen is tapped.

Input

NameData TypeDescription
TargetScene ObjectThe object to which the materials to be displayed are applied.
OrderStringThe order in which the materials appear. Loop outputs values continuously in the order set; Random outputs values at random (may repeat); Shuffle outputs all values at once in random order (no repetition).
Materials{dataType} ArrayThe specified set of materials.