C# Class SwipePlayerInMenu, SlashRunner

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

Public Properties

Property Type Description
cam GameObject
playButton GameObject
remains GameObject
sceneName string
target Transform

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
Wait ( ) : void

Private Methods

Method Description
WaitToDie ( float waitTime ) : IEnumerator

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Wait() public method

public Wait ( ) : void
return void

Property Details

cam public property

Camera
public GameObject cam
return GameObject

playButton public property

public GameObject playButton
return GameObject

remains public property

public GameObject remains
return GameObject

sceneName public property

public string sceneName
return string

target public property

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