C# Class CameraEventMover, RPGQuest

Inheritance: MonoBehaviour
Mostra file Open project: hughrogers/RPGQuest

Public Methods

Method Description
CameraRotate ( Transform c, Transform a, Vector3 ra, float t, float s ) : void
CameraShake ( Transform c, float t, float i, float s ) : void
SetTargetData ( CameraPosition, cp, Transform c, Transform a, EaseType et, float t ) : IEnumerator
SetTargetData ( Vector3 pos, Quaternion rot, float fov, Transform c, EaseType et, float t ) : IEnumerator

Private Methods

Method Description
Update ( ) : void

Method Details

CameraRotate() public method

public CameraRotate ( Transform c, Transform a, Vector3 ra, float t, float s ) : void
c Transform
a Transform
ra Vector3
t float
s float
return void

CameraShake() public method

public CameraShake ( Transform c, float t, float i, float s ) : void
c Transform
t float
i float
s float
return void

SetTargetData() public method

public SetTargetData ( CameraPosition, cp, Transform c, Transform a, EaseType et, float t ) : IEnumerator
cp CameraPosition,
c Transform
a Transform
et EaseType
t float
return IEnumerator

SetTargetData() public method

public SetTargetData ( Vector3 pos, Quaternion rot, float fov, Transform c, EaseType et, float t ) : IEnumerator
pos Vector3
rot Quaternion
fov float
c Transform
et EaseType
t float
return IEnumerator