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