1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| using UnityEditor;
| using UnityEngine;
|
| namespace Flexalon.Editor
| {
| [CustomEditor(typeof(FlexalonResult))]
| public class FlexalonResultEditor : UnityEditor.Editor
| {
| void OnEnable()
| {
| foreach (var target in targets)
| {
| target.hideFlags = HideFlags.HideInInspector;
| }
| }
| }
| }
|
|