C# Class AParamDrawer, lab

Mostrar archivo Open project: marekdaniluk/lab

Protected Properties

Property Type Description
_keyName string
_mainPropertyName string
_serializedObject UnityEditor.SerializedObject

Public Methods

Method Description
Add ( ReorderableList list ) : void
ApplyModifications ( ) : void
DrawElement ( Rect rect, int index, bool isActive, bool isFocused ) : void
DrawHeader ( Rect rect ) : void
DrawParamList ( ) : void
Remove ( ReorderableList list ) : void

Protected Methods

Method Description
InitParamList ( AiBehaviour blackboard ) : void

Private Methods

Method Description
GetPropertyValue ( UnityEditor.SerializedProperty sp ) : object
HasDuplicateValues ( UnityEditor.SerializedProperty so, int indexToOmmit, UnityEditor.SerializedProperty val ) : bool
SetPropertyValue ( UnityEditor.SerializedProperty sp, object value ) : void

Method Details

Add() public abstract method

public abstract Add ( ReorderableList list ) : void
list ReorderableList
return void

ApplyModifications() public abstract method

public abstract ApplyModifications ( ) : void
return void

DrawElement() public method

public DrawElement ( Rect rect, int index, bool isActive, bool isFocused ) : void
rect Rect
index int
isActive bool
isFocused bool
return void

DrawHeader() public method

public DrawHeader ( Rect rect ) : void
rect Rect
return void

DrawParamList() public method

public DrawParamList ( ) : void
return void

InitParamList() protected method

protected InitParamList ( AiBehaviour blackboard ) : void
blackboard AiBehaviour
return void

Remove() public abstract method

public abstract Remove ( ReorderableList list ) : void
list ReorderableList
return void

Property Details

_keyName protected_oe property

protected string _keyName
return string

_mainPropertyName protected_oe property

protected string _mainPropertyName
return string

_serializedObject protected_oe property

protected SerializedObject,UnityEditor _serializedObject
return UnityEditor.SerializedObject