Set Renderer Enabled
Show / hideRenderer.SetEnabled
Show or hide renderers without disabling the object.
Turns only the visuals (renderers) on or off. The object keeps running, so its collisions and triggers still work while invisible.
It changes only on the screen where the action runs. To keep everyone in step, react to a synced variable with On Variable Changed and run this action there (The same state for everyone).
Official docs: Renderer.enabled (Unity)
Settings
| Name | Type | Default |
|---|---|---|
| Targets | Renderer list | |
| On | On/Off | true |
On a card
WhenInteract⋯
What to do
Set Renderer Enabled⋯
TargetsNone
OnOn
+ Add what to do
In Udon
Roughly this code, once per target ({ } are the settings):
{targets}.enabled = {enabled};