C# Class GLErrorHandler, NewCloud

This Script can be used to set a full screen error message if an error happens on startup. (such as no OpenGL ES 2.0 support that is required for some samples).
Inheritance: MonoBehaviour
显示文件 Open project: nileshlg2003/NewCloud Class Usage Examples

Public Methods

Method Description
SetError ( string errorText ) : void

Sets an error text that is rendered every frame

Private Methods

Method Description
DrawWindowContent ( int id ) : void
OnGUI ( ) : void

Method Details

SetError() public static method

Sets an error text that is rendered every frame
public static SetError ( string errorText ) : void
errorText string
return void