Files
tianrunCRM/Assets/CoolapeFrame/Editor/Inspectors/CLUIScrollViewWithEventEditor.cs
2020-07-08 08:01:34 +08:00

21 lines
649 B
C#

//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(CLUIScrollViewWithEvent))]
public class CLUIScrollViewWithEventEditor : UIScrollViewEditor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
NGUIEditorTools.DrawProperty("Loop Grid", serializedObject, "loopGrid");
NGUIEditorTools.DrawProperty("Threshol Delta", serializedObject, "thresholDelta");
serializedObject.ApplyModifiedProperties();
}
}