A game about forced loneliness, made by TACStudios
at master 19 lines 532 B view raw
1using UnityEngine; 2using UnityEngine.UIElements; 3 4namespace UnityEditor.Rendering 5{ 6 public partial class RenderGraphViewer 7 { 8 internal class PassTitleLabel : Label 9 { 10 public PassTitleLabel(string text) : base(text) { } 11 12 public override bool ContainsPoint(Vector2 localPoint) 13 { 14 return localPoint.x >= 0 && localPoint.x <= resolvedStyle.width && 15 localPoint.y >= 0 && localPoint.y <= resolvedStyle.height; 16 } 17 } 18 } 19}