Beispiel #1
0
 public static void ClickAtCenter(this Graphic graphic) => InteHelper.RaycastClick(graphic.Center());
Beispiel #2
0
 private static Vector2 Center(this Graphic graphic) => InteHelper.CenterOfRectTransform(graphic.rectTransform);