Example #1
0
        /// <summary>
        /// Paint the UI.
        /// </summary>
        protected override void PaintUi()
        {
            PaintProperty("FileName");

            PaintProperty("Encrypted");

            PaintProperty("ConfigData", true);

            if (GUILayout.Button("Load"))
            {
                TargetObject.Load();
            }

            if (GUILayout.Button("Save"))
            {
                TargetObject.Save();
            }
        }