Method AddRayVisibilitySettings
AddRayVisibilitySettings(IUsesRayVisibilitySettings, Transform, object, bool, bool, int)
Add visibility settings to try and show/hide the ray/cone
Declaration
public static void AddRayVisibilitySettings(this IUsesRayVisibilitySettings user, Transform rayOrigin, object caller, bool rayVisible, bool coneVisible, int priority = 0)
Parameters
Type | Name | Description |
---|---|---|
IUsesRayVisibilitySettings | user | The functionality user |
Transform | rayOrigin | The ray to hide or show |
object | caller | The object which is adding settings |
bool | rayVisible | Show or hide the ray |
bool | coneVisible | Show or hide the cone |
int | priority | (Optional) The priority level of this request |