practice mode integrated to the onboarding tutorial
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
[DisallowMultipleComponent]
|
||||
[RequireComponent(typeof(CutoutMaskUI))]
|
||||
public class CutoutMaskUISettings : MonoBehaviour
|
||||
{
|
||||
[Tooltip("Rects matching cutout/hole areas. Clicks inside are not consumed by this Image. Leave empty to use the parent Mask's RectTransform.")]
|
||||
public RectTransform[] raycastPassThroughRects;
|
||||
|
||||
[Tooltip("The Image on the same object as Mask is usually the cutout shape and still receives raycasts. When this is on, that graphic's Raycast Target is turned off while this component is enabled so the hole reaches UI behind the overlay.")]
|
||||
public bool disableRaycastOnParentMaskGraphic = true;
|
||||
|
||||
[Tooltip("When enabled, clicks inside cutout/hole areas are consumed by this Image instead of passing through to UI behind.")]
|
||||
public bool blockRaycastThroughCutout;
|
||||
}
|
||||
Reference in New Issue
Block a user