Class PaintCellMineralIndexUserToolStateConfigAsset
Inheritance
Object
ScriptableObject
PaintCellMineralIndexUserToolStateConfigAsset
Implements
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: Fwt.HexTerrains.UserTools.SM.Configs.States.CellMinerals
Assembly: fwt.hexterrains.dll
Syntax
[CreateAssetMenu(fileName = "PaintCellMineralIndexUserToolStateConfigAsset", menuName = "Fwt/HexTerrains/User Tools/Cell Minerals/Paint CellMineral Index UserTool State")]
public class PaintCellMineralIndexUserToolStateConfigAsset : HexTerrainLayerGroupBrushUserToolStateConfigAsset, ISetValuesUserToolStateConfig<int>, ISetValuesUserToolStateConfig, IHexTerrainLayerGroupBrushUserToolStateConfig, IHexTerrainBrushUserToolStateConfig, IHexTerrainUserToolStateConfig, IUserToolStateConfig
Fields
_isClampCellValue
Declaration
[SerializeField]
[Tooltip("If true, the cell value will be clamped between MinCellValue and MaxCellValue")]
protected bool _isClampCellValue
Field Value
| Type | Description |
|---|---|
| bool |
_maxCellValue
Declaration
[SerializeField]
[Tooltip("Maximum cell value when clamping is enabled")]
protected int _maxCellValue
Field Value
| Type | Description |
|---|---|
| int |
_minCellValue
Declaration
[SerializeField]
[Tooltip("Minimum cell value when clamping is enabled")]
protected int _minCellValue
Field Value
| Type | Description |
|---|---|
| int |
_readValueKey
Declaration
[Tooltip("When this key is pressed, click will read value under cursor instead of applying it")]
[SerializeField]
protected KeyCode _readValueKey
Field Value
| Type | Description |
|---|---|
| KeyCode |
Properties
IsClampCellValue
If true, the cell value will be clamped between MinCellValue and MaxCellValue
Declaration
public bool IsClampCellValue { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MaxCellValue
Maximum cell value when clamping is enabled
Declaration
public int MaxCellValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MinCellValue
Minimum cell value when clamping is enabled
Declaration
public int MinCellValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ReadValueKey
When this key is pressed, click will read value under cursor instead of applying it
Declaration
public KeyCode ReadValueKey { get; set; }
Property Value
| Type | Description |
|---|---|
| KeyCode |
Methods
CreateUserToolState(ISmState)
Declaration
public override UserToolStateBase CreateUserToolState(ISmState parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ISmState | parent |
Returns
| Type | Description |
|---|---|
| UserToolStateBase |