Files
UltimateFishing2020/Assets/Plugins/Assembly-CSharp-firstpass/Photon/Chat/Demo/IgnoreUiRaycastWhenInactive.cs
2026-03-04 10:03:45 +08:00

13 lines
268 B
C#

using UnityEngine;
namespace Photon.Chat.Demo
{
public class IgnoreUiRaycastWhenInactive : MonoBehaviour, ICanvasRaycastFilter
{
public bool IsRaycastLocationValid(Vector2 screenPoint, Camera eventCamera)
{
return base.gameObject.activeInHierarchy;
}
}
}