예제 #1
0
        //called from base OnGUI, handles child property drawing
        protected override void DrawChildProperties(Rect position, SerializedProperty property)
        {
            //ensure all properties set
            SetProperties(property);

            //draw defaults label
            Rect newPostion = EditorTool.DrawTopLabel(position, "Defaults");

            //draw continue text
            newPostion = EditorTool.DrawTextField(newPostion, continueText, "Reply");
            //draw end text
            newPostion = EditorTool.DrawTextField(newPostion, endText, "Last Reply");
        }