📪Tips & Best Practices

Tip: There’s no limit to how many configurations you can add.

Best Practices: You can control multiple materials from a single GameObject (e.g., “RSM Manager”) or organise them across multiple RSM instances (e.g., “Walls”, “Ceiling”, etc.).

Tip: Effects can be triggered, reversed, or stopped via:

  • Script

  • Button UI events

  • Collider triggers

  • UnityEvents / signals

Important: Modular Design of RSM allows overlapping effects on the same material. To avoid conflicting behaviours, make sure to stop an effect before triggering another.

Reverse Functionality: For Incremental and Decremental, calling ReverseShaderDirection will switch the direction without resetting values.

Shader Requirements: The float property must exist in the shader with the exact reference name. Example: _Blend or _Alpha.

Last updated