示例#1
0
 public void OnGUI(Rect position)
 {
     if (this.m_ListenersArray == null || !this.m_ListenersArray.isArray)
     {
         return;
     }
     this.m_DummyEvent = TesityEventDrawer.GetDummyEvent(this.m_Prop);
     if (this.m_DummyEvent == null)
     {
         return;
     }
     if (this.m_Styles == null)
     {
         this.m_Styles = new TesityEventDrawer.Styles();
     }
     if (this.m_ReorderableList != null)
     {
         int indentLevel = EditorGUI.indentLevel;
         EditorGUI.indentLevel = 0;
         this.m_ReorderableList.DoList(position);
         EditorGUI.indentLevel = indentLevel;
     }
 }
		public void OnGUI(Rect position)
		{
			if (this.m_ListenersArray == null || !this.m_ListenersArray.isArray)
			{
				return;
			}
			this.m_DummyEvent = TesityEventDrawer.GetDummyEvent(this.m_Prop);
			if (this.m_DummyEvent == null)
			{
				return;
			}
			if (this.m_Styles == null)
			{
				this.m_Styles = new TesityEventDrawer.Styles();
			}
			if (this.m_ReorderableList != null)
			{
				int indentLevel = EditorGUI.indentLevel;
				EditorGUI.indentLevel = 0;
				this.m_ReorderableList.DoList(position);
				EditorGUI.indentLevel = indentLevel;
			}
		}