|SetAway:[[Type:Action|Action]]|[[Type:Action|Action]]|false|Stores the renderer's material list in <code>_oldMaterials</code> and replaces them with the <code>AwayMaterial</code>.
|SetAway:[[Type:Action|Action]]|[[Type:Action|Action]]|false|Stores the renderer's material list in <code>_oldMaterials</code> and replaces them with the <code>AwayMaterial</code>.
|Restore:[[Type:Action|Action]]|[[Type:Action|Action]]|false|Restores the renderer's materials from <code>_oldMaterials</code>.
|Restore:[[Type:Action|Action]]|[[Type:Action|Action]]|false|Restores the renderer's materials from <code>_oldMaterials</code>.
|OnTestAway:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Stores the renderer's material list in <code>_oldMaterials</code> and replaces them with the <code>AwayMaterial</code>.
|OnTestRestore:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Restores the renderer's materials from <code>_oldMaterials</code>.
}}
}}
Latest revision as of 18:01, 8 April 2025
Component image
SimpleAwayIndicator component as seen in the Scene Inspector
The SimpleAwayIndicator indicates when a user doesn't have the session focused by temporarily replacing the materials of a MeshRenderer with the specified Away Material.