Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ModifyCameraTargetButton
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