TopDown Engine  v4.1
MoreMountains.Tools.MonoAttribute Class Reference

Public Types

enum  MemberTypes { MemberTypes.Property, MemberTypes.Field }
 

Public Member Functions

 MonoAttribute (MonoBehaviour targetObject, MemberTypes type, PropertyInfo propertyInfo, FieldInfo fieldInfo, string memberName)
 
virtual float GetValue ()
 
virtual void SetValue (float newValue)
 

Public Attributes

MonoBehaviour TargetObject
 
MemberTypes MemberType
 
PropertyInfo MemberPropertyInfo
 
FieldInfo MemberFieldInfo
 
string MemberName
 

Member Enumeration Documentation

◆ MemberTypes

Enumerator
Property 
Field 

Constructor & Destructor Documentation

◆ MonoAttribute()

MoreMountains.Tools.MonoAttribute.MonoAttribute ( MonoBehaviour  targetObject,
MemberTypes  type,
PropertyInfo  propertyInfo,
FieldInfo  fieldInfo,
string  memberName 
)

Member Function Documentation

◆ GetValue()

virtual float MoreMountains.Tools.MonoAttribute.GetValue ( )
virtual

◆ SetValue()

virtual void MoreMountains.Tools.MonoAttribute.SetValue ( float  newValue)
virtual

Member Data Documentation

◆ MemberFieldInfo

FieldInfo MoreMountains.Tools.MonoAttribute.MemberFieldInfo

◆ MemberName

string MoreMountains.Tools.MonoAttribute.MemberName

◆ MemberPropertyInfo

PropertyInfo MoreMountains.Tools.MonoAttribute.MemberPropertyInfo

◆ MemberType

MemberTypes MoreMountains.Tools.MonoAttribute.MemberType

◆ TargetObject

MonoBehaviour MoreMountains.Tools.MonoAttribute.TargetObject

The documentation for this class was generated from the following file: