123456789101112131415161718192021222324252627 |
- using TFramework;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEditor;
- namespace TFramework
- {
- [CustomEditor(typeof(ObjectPoolMananger))]
- public class ObjectPoolInspector : TEditor
- {
- SerializedProperty m_poolTransform;
- private void OnEnable()
- {
- m_poolTransform = serializedObject.FindProperty("m_poolTransform");
- }
- public override void OnInspectorGUI()
- {
- serializedObject.Update();
- EditorGUILayout.PropertyField(m_poolTransform, new GUIContent("¶ÔÏ󳨏ù½Úµã"));
- serializedObject.ApplyModifiedProperties();
- }
- }
- }
|