示例#1
0
        void _DrawStackData(ref StackData info)
        {
            CSCommonEditor.BeginContents();

            EditorGUILayout.ObjectField("Instances ", info.mObject, typeof(GameObject));
            EditorGUILayout.LabelField("Order ", info.mOrder.ToString());
            EditorGUILayout.LabelField("Start Depeth ", info.mStartDepth.ToString());
            EditorGUILayout.LabelField("End Depeth ", info.mEndDepth.ToString());
            GUILayout.Space(5f);
            EditorGUILayout.LabelField("UI Type ", info.mInfo.Key.ToString());
            EditorGUILayout.LabelField("Owner Type ", CSCommonEditor.ToString(info.mInfo.Owner));
            EditorGUILayout.LabelField("UI Wnd Type ", info.mInfo.WinType.ToString());
            EditorGUILayout.LabelField("UI Effect Type ", info.mInfo.WinEffect.ToString());
            EditorGUILayout.LabelField("UI Resources AssetName ", info.mInfo.GetResourcePath());

            CSCommonEditor.EndContents();
        }