Exemplo n.º 1
0
 void OnEnable()
 {
     _selfTarget = this;
 }
Exemplo n.º 2
0
 void OnDisable()
 {
     _selfTarget = null;
 }
Exemplo n.º 3
0
 private static void Open()
 {
     _selfTarget = _selfTarget ?? EditorWindow.GetWindow <UGUIRaycastCheck>("RaycastTarget检测器");
     _selfTarget.Show();
 }