C# Class ModifyCameraTargetButton, SlashRunner

Moves the camera to a new target on press.
Inheritance: ButtonBehaviour
Show 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 property

Camera
public GameObject cam
return GameObject

target public property

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