C# Class AttachCamera, VRDesignLab

Inheritance: MonoBehaviour
Mostra file Open project: VRUX-CO/VRDesignLab Class Usage Examples

Public Properties

Property Type Description
AttachmentPoint Transform
CameraPositionOffset Vector3
CameraRotation float

Public Methods

Method Description
Attach ( ) : void

Attach the main camera object to the attachment point.

Detach ( ) : void

Detach the main camera object back to the scene root.

Protected Methods

Method Description
Awake ( ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
Start ( ) : void

Method Details

Attach() public method

Attach the main camera object to the attachment point.
public Attach ( ) : void
return void

Awake() protected method

protected Awake ( ) : void
return void

Detach() public method

Detach the main camera object back to the scene root.
public Detach ( ) : void
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Property Details

AttachmentPoint public_oe property

public Transform AttachmentPoint
return Transform

CameraPositionOffset public_oe property

public Vector3 CameraPositionOffset
return Vector3

CameraRotation public_oe property

public float CameraRotation
return float