//---------------------------------------------- // 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(); } }