upgrade
This commit is contained in:
@@ -22,5 +22,8 @@ public class CLUILoopGridInspector : Editor
|
||||
} else {
|
||||
loopGrid.cellCount = EditorGUILayout.IntField("Cell Count", loopGrid.cellCount);
|
||||
}
|
||||
NGUIEditorTools.DrawEvents("On Show Head List", loopGrid, loopGrid.OnShowHeadListCallbacks);
|
||||
NGUIEditorTools.DrawEvents("On Hide Head List", loopGrid, loopGrid.OnHideHeadListCallbacks);
|
||||
NGUIEditorTools.DrawEvents("On End List", loopGrid, loopGrid.OnEndListCallbacks);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
//----------------------------------------------
|
||||
// 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");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 525b81439717f4a5a9050f535abe8bbe
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
Reference in New Issue
Block a user