RampAngleUI

  • Type : Public class
  • Inherents from MonoBehaviour
  • Namespace : SlateShipyard.ShipSpawner.RampUI

UI element to display the current angle of the ramp and to handle its angle.

Properties


Public Properties

Text

Text UI element to display the current angle in degrees.

InteractReceiver

The button to increase the angle value.

InteractReceiver

The button to decrease the angle value.

Methods


Public Methods

void Start()

The Start method.

void OnDestroy()

The OnDestroy method.

void OnAngleIncrease()

Method called to increase the angle of the ramp.

void OnAngleDecrease()

Method called to decrease the angle of the ramp.

void Update()

The Update method.