Files
tianrunCRM/Assets/CoolapeFrame/Editor/Inspectors/CLUIScrollViewWithEventEditor.cs

21 lines
649 B
C#
Raw Permalink Normal View History

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