Class BaseControllerSettings
- Namespace
- AwesomeTechnologies.Common
- Assembly
- Assembly-CSharp.dll
public class BaseControllerSettings
- Inheritance
-
BaseControllerSettings
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
BaseControllerSettings()
public BaseControllerSettings()
Fields
ControlerPropertyList
public List<SerializedControllerProperty> ControlerPropertyList
Field Value
- List<SerializedControllerProperty>
Methods
AddBooleanProperty(string, string, string, bool)
public void AddBooleanProperty(string id, string description, string info, bool defaultValue)
Parameters
id string
description string
info string
defaultValue bool
AddColorProperty(string, string, string, Color)
public void AddColorProperty(string id, string description, string info, Color defaultValue)
Parameters
id string
description string
info string
defaultValue Color
AddFloatProperty(string, string, string, float, float, float)
public void AddFloatProperty(string id, string description, string info, float defaultValue, float minValue, float maxValue)
Parameters
id string
description string
info string
defaultValue float
minValue float
maxValue float
AddLabelProperty(string)
public void AddLabelProperty(string text)
Parameters
text string
AddRgbaSelectorProperty(string, string, string, int)
public void AddRgbaSelectorProperty(string id, string description, string info, int defaultValue)
Parameters
id string
description string
info string
defaultValue int
AddTextureProperty(string, string, string, Texture2D)
public void AddTextureProperty(string id, string description, string info, Texture2D defaultValue)
Parameters
id string
description string
info string
defaultValue Texture2D
GetBooleanPropertyValue(string)
public bool GetBooleanPropertyValue(string propertyName)
Parameters
propertyName string
Returns
- bool
GetColorPropertyValue(string)
public Color GetColorPropertyValue(string propertyName)
Parameters
propertyName string
Returns
- Color
GetFloatPropertyValue(string)
public float GetFloatPropertyValue(string propertyName)
Parameters
propertyName string
Returns
- float
GetIntPropertyValue(string)
public int GetIntPropertyValue(string propertyName)
Parameters
propertyName string
Returns
- int
GetTexturePropertyValue(string)
public Texture2D GetTexturePropertyValue(string propertyName)
Parameters
propertyName string
Returns
- Texture2D