C# Class TangoMultiCamera, beerpong

Multiple type camera. Can switch between First Person, Third Person, and Top Down camera types.
Inheritance: MonoBehaviour
Afficher le fichier Open project: ashomk/beerpong Class Usage Examples

Méthodes publiques

Свойство Type Description
m_defaultCameraType CameraType
m_enableCameraTypeUI bool
m_targetFollowingObject GameObject

Méthodes publiques

Méthode Description
EnableCamera ( CameraType cameraType ) : void

Set the active camera type.

LateUpdate ( ) : void

LateUpdate is called after all Update functions have been called.

OnGUI ( ) : void

OnGUI is called for rendering and handling GUI events.

Start ( ) : void

Start is called on the frame when a script is enabled.

Method Details

EnableCamera() public méthode

Set the active camera type.
public EnableCamera ( CameraType cameraType ) : void
cameraType CameraType Camera type.
Résultat void

LateUpdate() public méthode

LateUpdate is called after all Update functions have been called.
public LateUpdate ( ) : void
Résultat void

OnGUI() public méthode

OnGUI is called for rendering and handling GUI events.
public OnGUI ( ) : void
Résultat void

Start() public méthode

Start is called on the frame when a script is enabled.
public Start ( ) : void
Résultat void

Property Details

m_defaultCameraType public_oe property

The default camera type.
public CameraType m_defaultCameraType
Résultat CameraType

m_enableCameraTypeUI public_oe property

If set, display the camera switching UI via OnGUI.
public bool m_enableCameraTypeUI
Résultat bool

m_targetFollowingObject public_oe property

The target object to follow.
public GameObject m_targetFollowingObject
Résultat GameObject