Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.FloatOperator Class Reference
Inheritance diagram for GamingIsLove.Makinom.FloatOperator:
GamingIsLove.Makinom.BaseData GamingIsLove.Makinom.IBaseData

Public Member Functions

 FloatOperator (BaseFloatOperator type)
 
override void EditorAutoSetup (string fieldName)
 Called for the field defined using the settingAutoSetup option of the GamingIsLove.Makinom.EditorInfoAttribute. More...
 
override string ToString ()
 
virtual int Use (int currentValue, int value)
 
virtual float Use (float currentValue, float value)
 
virtual void Use (ref int currentValue, int value)
 
virtual void Use (ref float currentValue, float value)
 
void OldDataUpgrade (DataObject data, string dataKey)
 
- Public Member Functions inherited from GamingIsLove.Makinom.BaseData
virtual DataObject GetData ()
 Gets a GamingIsLove.Makinom.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a GamingIsLove.Makinom.DataObject. More...
 

Public Attributes

string type = typeof(AddFloatOperator).ToString()
 
BaseFloatOperator settings = new AddFloatOperator()
 

Static Public Attributes

static FloatOperator Set = new FloatOperator(new SetFloatOperator())
 

Member Function Documentation

◆ EditorAutoSetup()

override void GamingIsLove.Makinom.FloatOperator.EditorAutoSetup ( string  fieldName)
virtual

Called for the field defined using the settingAutoSetup option of the GamingIsLove.Makinom.EditorInfoAttribute.

Parameters
fieldNameThe name of the field the function is called for.

Reimplemented from GamingIsLove.Makinom.BaseData.