Ignore Raycast Layer#
Physics / Ignore Raycast Layer
Can Read
Cannot Write
Description#
The Ignore Raycast Layer static field of the Physics class
Code#
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>
using System;
using UnityEngine;
using VisualScript.Icons;
namespace VisualScript.Runtime
{
[Get]
[Title("Ignore Raycast Layer")]
[Category("Physics/Ignore Raycast Layer")]
[Description("The Ignore Raycast Layer static field of the Physics class")]
[Image(typeof(IconPhysics), ColorTheme.Type.Lime)]
[Serializable]
public class GenTypeInteger_Physics_IgnoreRaycastLayer : TypeNumber
{
public override double GetPreview(GameObject source)
{
return Physics.IgnoreRaycastLayer;
}
public override double Get(Args args)
{
return Physics.IgnoreRaycastLayer;
}
public override string ToString()
{
return $"Physics Ignore Raycast Layer";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}