C# Class WebTexture, UnityAwe

Basic example of using a WebView on a 3D Unity surface
Inheritance: MonoBehaviour
ファイルを表示 Open project: khrona/UnityAwe Class Usage Examples

Public Properties

Property Type Description
height int
initialURL string
width int

Public Methods

Method Description
BindJSObjectCallback ( string objectName, string callbackName, JSCallback callback ) : void
CreateJSObject ( string objectName ) : void
Focus ( ) : void
GoBack ( ) : void
GoForward ( ) : void
LoadHTML ( string html ) : void
LoadURL ( string url ) : void
PauseRendering ( ) : void
Reload ( ) : void
ResumeRendering ( ) : void
SetJSObjectProperty ( string objectName, string propertyName, JSValue val ) : void
Start ( ) : void
Unfocus ( ) : void

Private Methods

Method Description
MapKeys ( Event e ) : VirtualKey,
MapModifiers ( Event e ) : WebKeyModifiers
OnApplicationQuit ( ) : void
OnDisable ( ) : void
OnGUI ( ) : void
OnMouseDown ( ) : void
OnMouseEnter ( ) : void
OnMouseExit ( ) : void
OnMouseOver ( ) : void
OnMouseUp ( ) : void
Update ( ) : void

Method Details

BindJSObjectCallback() public method

public BindJSObjectCallback ( string objectName, string callbackName, JSCallback callback ) : void
objectName string
callbackName string
callback JSCallback
return void

CreateJSObject() public method

public CreateJSObject ( string objectName ) : void
objectName string
return void

Focus() public method

public Focus ( ) : void
return void

GoBack() public method

public GoBack ( ) : void
return void

GoForward() public method

public GoForward ( ) : void
return void

LoadHTML() public method

public LoadHTML ( string html ) : void
html string
return void

LoadURL() public method

public LoadURL ( string url ) : void
url string
return void

PauseRendering() public method

public PauseRendering ( ) : void
return void

Reload() public method

public Reload ( ) : void
return void

ResumeRendering() public method

public ResumeRendering ( ) : void
return void

SetJSObjectProperty() public method

public SetJSObjectProperty ( string objectName, string propertyName, JSValue val ) : void
objectName string
propertyName string
val JSValue
return void

Start() public method

public Start ( ) : void
return void

Unfocus() public method

public Unfocus ( ) : void
return void

Property Details

height public_oe property

public int height
return int

initialURL public_oe property

public string initialURL
return string

width public_oe property

public int width
return int