private void Inspector() { SetGUIColor(Grey); using (new EditorGUILayout.VerticalScope("Box")) { ResetGUIColor(); EditorGUILayout.LabelField("UI builder"); Target.adjust = EditorGUILayout.Vector3Field("Adjust", Target.adjust); Target.scale = EditorGUILayout.FloatField("Scale", Target.scale); Target.Parent = EditorGUILayout.ObjectField("Parent", Target.Parent, typeof(GameObject), true) as GameObject; Target.dataToCollect = EditorGUILayout.ObjectField("Data To Collect", Target.dataToCollect, typeof(ScriptableObject), true) as ScriptableObject; Target.useriinterface = EditorGUILayout.ObjectField("Ui Prefabs", Target.useriinterface, typeof(ScriptableObject), true) as ScriptableObject; Target.databaseManager = EditorGUILayout.ObjectField("Database Manager", Target.databaseManager, typeof(FirebaseManager), true) as FirebaseManager; if (GUIButton("Layout Create Test", DarkGrey, White)) { Target.EditorBuild(0); } if (GUIButton("Destroy Test", DarkGrey, White)) { Target.Destroy(); } } }