Board
Board.Input.Simulation
BoardContactSimulationSettings Class
Encapsulates settings for Board input simulation.
public class BoardContactSimulationSettings
Inheritance UnityEditor.ScriptableSingleton 🡒 BoardContactSimulationSettings
| Properties | Â |
|---|---|
| actionsAsset | Gets the UnityEngine.InputSystem.InputActionAsset which provides the controls for simulation. |
| clearAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to clear the current contact. |
| fastRotateAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate rotating a contact quickly. |
| fastRotationSpeedMultiplier | Gets the multiplier to apply to the speed at which a simulated contact is being quickly rotated. |
| iconOutlineColor | Gets the default outline color for the icon representation of a BoardContact. |
| iconOutlineThickness | Gets the default outline thickness for the icon representation of a BoardContact. |
| liftAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate lifting a contact. |
| liftedIconColor | Gets the color for the icon representation of a BoardContact when it is lifted. |
| liftedIconShadowColor | Gets the shadow color for the icon representation of a BoardContact when it is lifted. |
| liftedIconShadowDistance | Gets the shadow effect distance for the icon representation of a BoardContact when it is lifted. |
| placeTouchedAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate placing a touched contact. |
| placeUntouchedAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate placing an untounched contact. |
| rotateAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate rotating a contact. |
| rotationSpeed | Gets the speed at which a simulated contact is rotated. |
| snapRotateClockwiseAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate rotating a contact clockwise by a fixed amount. |
| snapRotateCounterclockwiseAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate rotating a contact counterclockwise by a fixed amount. |
| snapRotationDegrees | Gets the degrees to rotate a simulated contact when it is snap rotated. |
| touchAction | Gets the UnityEngine.InputSystem.InputActionReference for the action to simulate touching a contact. |
| touchedIconOutlineColor | Gets the outline color for the icon representation of a BoardContact when it is touched. |
| touchedIconOutlineThickness | Gets the outline thickness for the icon representation of a BoardContact when it is touched. |
| Methods | Â |
|---|---|
| Reset() | Reset to default state. |
| Events | Â |
|---|---|
| changed | Occurs when a property in the settings changes. |