C# Class WebTexture, UnityAwe

Basic example of using a WebView on a 3D Unity surface
Inheritance: MonoBehaviour
Afficher le fichier Open project: khrona/UnityAwe Class Usage Examples

Méthodes publiques

Свойство Type Description
height int
initialURL string
width int

Méthodes publiques

Méthode 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

Méthode 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 méthode

public BindJSObjectCallback ( string objectName, string callbackName, JSCallback callback ) : void
objectName string
callbackName string
callback JSCallback
Résultat void

CreateJSObject() public méthode

public CreateJSObject ( string objectName ) : void
objectName string
Résultat void

Focus() public méthode

public Focus ( ) : void
Résultat void

GoBack() public méthode

public GoBack ( ) : void
Résultat void

GoForward() public méthode

public GoForward ( ) : void
Résultat void

LoadHTML() public méthode

public LoadHTML ( string html ) : void
html string
Résultat void

LoadURL() public méthode

public LoadURL ( string url ) : void
url string
Résultat void

PauseRendering() public méthode

public PauseRendering ( ) : void
Résultat void

Reload() public méthode

public Reload ( ) : void
Résultat void

ResumeRendering() public méthode

public ResumeRendering ( ) : void
Résultat void

SetJSObjectProperty() public méthode

public SetJSObjectProperty ( string objectName, string propertyName, JSValue val ) : void
objectName string
propertyName string
val JSValue
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Unfocus() public méthode

public Unfocus ( ) : void
Résultat void

Property Details

height public_oe property

public int height
Résultat int

initialURL public_oe property

public string initialURL
Résultat string

width public_oe property

public int width
Résultat int