Class InteractableGrabScaleTheme
ThemeEngine to control initialized GameObject's scale based on associated Interactable grab state and related state changes
Inheritance
InteractableGrabScaleTheme
Assembly: cs.temp.dll.dll
public class InteractableGrabScaleTheme : InteractableThemeBase
Constructors
Declaration
public InteractableGrabScaleTheme()
Declaration
public InteractableGrabScaleTheme()
Fields
Declaration
protected float grabPercentage
Field Value
Declaration
protected float grabPercentage
Field Value
Declaration
protected bool grabTransition
Field Value
Declaration
protected bool grabTransition
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
protected Vector3 originalLocalScale
Field Value
Declaration
[Obsolete("startScaleValue is no longer supported. Use originalLocalScale instead.")]
protected ThemePropertyValue startScaleValue
Field Value
Declaration
[Obsolete("startScaleValue is no longer supported. Use originalLocalScale instead.")]
protected ThemePropertyValue startScaleValue
Field Value
Declaration
protected Interactable targetInteractable
Field Value
Declaration
protected Interactable targetInteractable
Field Value
Declaration
Field Value
Declaration
Field Value
Methods
Declaration
public override ThemeDefinition GetDefaultThemeDefinition()
Returns
Overrides
Declaration
public override ThemeDefinition GetDefaultThemeDefinition()
Returns
Overrides
Declaration
public override ThemePropertyValue GetProperty(ThemeStateProperty property)
Parameters
Returns
Overrides
Declaration
public override ThemePropertyValue GetProperty(ThemeStateProperty property)
Parameters
Returns
Overrides
Declaration
public override void Init(GameObject host, ThemeDefinition settings)
Parameters
Overrides
Declaration
public override void Init(GameObject host, ThemeDefinition settings)
Parameters
Overrides
Declaration
public override void OnUpdate(int state, bool force = false)
Parameters
Overrides
Declaration
public override void OnUpdate(int state, bool force = false)
Parameters
Overrides
Declaration
protected override void SetValue(ThemeStateProperty property, ThemePropertyValue value)
Parameters
Overrides
Declaration
public override void SetValue(ThemeStateProperty property, int index, float percentage)
Parameters
Overrides
Declaration
public override void SetValue(ThemeStateProperty property, int index, float percentage)
Parameters
Overrides