Tanoda
Leap.Unity.InputModule.PhysicsUI Class Reference
Inheritance diagram for Leap.Unity.InputModule.PhysicsUI:

Public Attributes

Transform ButtonFace
 
UnityEngine.UI.Image Shadow
 

Detailed Description

A physics-enabled button. Activation is triggered by physically pushing the button back to its unsprung position. Requires a SpringJoint.

Definition at line 20 of file PhysicsUI.cs.

Member Data Documentation

◆ ButtonFace

Transform Leap.Unity.InputModule.PhysicsUI.ButtonFace

The spring-loaded game object that serves as the movable, pressable portion of the button.

Definition at line 23 of file PhysicsUI.cs.

◆ Shadow

UnityEngine.UI.Image Leap.Unity.InputModule.PhysicsUI.Shadow

An optional drop-shadow image. The opacity of this shadow is modified as the button is compressed.

Definition at line 26 of file PhysicsUI.cs.


The documentation for this class was generated from the following file: