C# Class GAudio.Attributes.BindedValueProperty

Inheritance: UnityEngine.PropertyAttribute
Show file Open project: gregzo/G-Audio Class Usage Examples

Protected Properties

Property Type Description
_fieldFlags bool[]
_memberInfos System.Reflection.MemberInfo[]
_pathComponents string[]
_toggleInfo System.Reflection.FieldInfo

Public Methods

Method Description
BindedValueProperty ( string propertyPath, Type outerType, string toggleField = null ) : System
CheckToggle ( object owner ) : bool
GetTargetObj ( object outerObj ) : object
GetValue ( object owner ) : object
SetValue ( object owner, object value ) : void

Method Details

BindedValueProperty() public method

public BindedValueProperty ( string propertyPath, Type outerType, string toggleField = null ) : System
propertyPath string
outerType System.Type
toggleField string
return System

CheckToggle() public method

public CheckToggle ( object owner ) : bool
owner object
return bool

GetTargetObj() public method

public GetTargetObj ( object outerObj ) : object
outerObj object
return object

GetValue() public method

public GetValue ( object owner ) : object
owner object
return object

SetValue() public method

public SetValue ( object owner, object value ) : void
owner object
value object
return void

Property Details

_fieldFlags protected property

protected bool[] _fieldFlags
return bool[]

_memberInfos protected property

protected MemberInfo[],System.Reflection _memberInfos
return System.Reflection.MemberInfo[]

_pathComponents protected property

protected string[] _pathComponents
return string[]

_toggleInfo protected property

protected FieldInfo,System.Reflection _toggleInfo
return System.Reflection.FieldInfo