Class UIAlphaRaycast
Allow to define the alpha threshold that will let a raycast pass in the UI. By default for performance reason that threshold is set to 0 (all part of the image, even the one with = 0, stop the raycast).
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UIAlphaRaycast
Namespace: CreatorKitCodeInternal
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(Image))]
public class UIAlphaRaycast : MonoBehaviour
Fields
AlphaLimit
Declaration
[Range(0F, 1F)]
public float AlphaLimit
Field Value
Type | Description |
---|---|
System.Single |