Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.TwoButtonTouchAxis Class Reference

A very simple axis that just wraps a negative and positive button and provides values of -1, 0 and 1. More...

Inheritance diagram for PlatformerPro.TwoButtonTouchAxis:
PlatformerPro.ITouchAxis

Public Attributes

GameObject negativeButton
 The negative buttons Game Obejct. More...
 
GameObject positiveButton
 The positive buttons Game Obejct. More...
 

Protected Member Functions

virtual void Init ()
 Init this instance. More...
 

Protected Attributes

ITouchButton actualNegativeButton
 The negative button. More...
 
ITouchButton actualPositiveButton
 The positive button. More...
 

Properties

float Value [get]
 Gets the axis value. More...
 
- Properties inherited from PlatformerPro.ITouchAxis
float Value [get]
 Gets the axis value. More...
 

Detailed Description

A very simple axis that just wraps a negative and positive button and provides values of -1, 0 and 1.

Member Function Documentation

◆ Init()

virtual void PlatformerPro.TwoButtonTouchAxis.Init ( )
protectedvirtual

Init this instance.

Member Data Documentation

◆ actualNegativeButton

ITouchButton PlatformerPro.TwoButtonTouchAxis.actualNegativeButton
protected

The negative button.

◆ actualPositiveButton

ITouchButton PlatformerPro.TwoButtonTouchAxis.actualPositiveButton
protected

The positive button.

◆ negativeButton

GameObject PlatformerPro.TwoButtonTouchAxis.negativeButton

The negative buttons Game Obejct.

◆ positiveButton

GameObject PlatformerPro.TwoButtonTouchAxis.positiveButton

The positive buttons Game Obejct.

Property Documentation

◆ Value

float PlatformerPro.TwoButtonTouchAxis.Value
get

Gets the axis value.

The value.


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