C# Class AndroidUnityPlayer, NewCloud

This class encapsulates functionality to detect various surface events (size, orientation changed) and delegate this to native.
Inheritance: IAndroidUnityPlayer
Show file Open project: nileshlg2003/NewCloud Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Start ( ) : void

- trigger onSurfaceCreated - intially set the screen orientation

Update ( ) : void

check for screen orientation changes

Private Methods

Method Description
CheckOrientation ( ) : void
InitializeSurface ( ) : void
ResetUnityScreenOrientation ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Start() public method

- trigger onSurfaceCreated - intially set the screen orientation
public Start ( ) : void
return void

Update() public method

check for screen orientation changes
public Update ( ) : void
return void