C# Class ModifyCameraTargetButton, SlashRunner

Moves the camera to a new target on press.
Inheritance: ButtonBehaviour
Mostra file Open project: matthewAURA/SlashRunner

Public Properties

Property Type Description
cam GameObject
target Transform

Protected Methods

Method Description
OnButtonPress ( ) : void

Method Details

OnButtonPress() protected method

protected OnButtonPress ( ) : void
return void

Property Details

cam public_oe property

Camera
public GameObject cam
return GameObject

target public_oe property

The new camera target after button press
public Transform target
return Transform