C# Class PropertyHelper

Show file Open project: dggriffin/Rain-Rain-Ritual Class Usage Examples

Public Properties

Property Type Description
mine UnityEditor.SerializedProperty
show bool

Public Methods

Method Description
CheckSame ( ) : IEnumerable
Draw ( float width ) : void
GetProperty ( bool isMine ) : UnityEditor.SerializedProperty
PropertyHelper ( ComponentHelper, parent, UnityEditor.SerializedProperty mine, UnityEditor.SerializedProperty theirs ) : System

Private Methods

Method Description
DrawProperty ( bool isMine, float width ) : void

Method Details

CheckSame() public method

public CheckSame ( ) : IEnumerable
return IEnumerable

Draw() public method

public Draw ( float width ) : void
width float
return void

GetProperty() public method

public GetProperty ( bool isMine ) : UnityEditor.SerializedProperty
isMine bool
return UnityEditor.SerializedProperty

PropertyHelper() public method

public PropertyHelper ( ComponentHelper, parent, UnityEditor.SerializedProperty mine, UnityEditor.SerializedProperty theirs ) : System
parent ComponentHelper,
mine UnityEditor.SerializedProperty
theirs UnityEditor.SerializedProperty
return System

Property Details

mine public property

public SerializedProperty,UnityEditor mine
return UnityEditor.SerializedProperty

show public property

public bool show
return bool