C# Class CameraMng, ex-unity-old-deprecated

Inheritance: MonoBehaviour
Datei anzeigen Open project: exdev/ex-unity-old-deprecated Class Usage Examples

Public Properties

Property Type Description
MAX_LAYER int
renderCamera Camera

Public Methods

Method Description
Blend ( CameraCtrl, _cameraCtrl, float _weight, float _duration = 0.3f ) : void
CrossFade ( CameraCtrl, _cameraCtrl, float _duration = 0.3f ) : void
FadeOut ( CameraCtrl, _cameraCtrl, float _duration = 0.3f ) : void
FadeOut ( int _layer, float _duration = 0.3f ) : void

Private Methods

Method Description
Awake ( ) : void
HandleBlendRequest ( ) : void
LateUpdate ( ) : void
PushCameraCtrlIfNotExist ( CameraCtrl, _cameraCtrl ) : void
PushRequest ( CameraCtrl, _cameraCtrl, float _weight, float _duration ) : void
Update ( ) : void

Method Details

Blend() public method

public Blend ( CameraCtrl, _cameraCtrl, float _weight, float _duration = 0.3f ) : void
_cameraCtrl CameraCtrl,
_weight float
_duration float
return void

CrossFade() public method

public CrossFade ( CameraCtrl, _cameraCtrl, float _duration = 0.3f ) : void
_cameraCtrl CameraCtrl,
_duration float
return void

FadeOut() public method

public FadeOut ( CameraCtrl, _cameraCtrl, float _duration = 0.3f ) : void
_cameraCtrl CameraCtrl,
_duration float
return void

FadeOut() public method

public FadeOut ( int _layer, float _duration = 0.3f ) : void
_layer int
_duration float
return void

Property Details

MAX_LAYER public_oe static_oe property

public static int MAX_LAYER
return int

renderCamera public_oe property

public Camera renderCamera
return Camera