C# Class SwipePlayerInMenu, SlashRunner

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

Camera
public GameObject cam
return GameObject

playButton public_oe property

public GameObject playButton
return GameObject

remains public_oe property

public GameObject remains
return GameObject

sceneName public_oe property

public string sceneName
return string

target public_oe property

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