Functions
GetClipBoard
static System.String GetClipBoard()

UnityExtension:returns clipboard content on PC

Returns

System.String

SetClipBoard
static System.Void SetClipBoard(
string newcontent
)

UnityExtension:set clipboard content on PC

Parameters
newcontent
string

text

Returns

System.Void

TServerPlayer
TServerPlayer

base class for all players and npcs

Variables
gameobject
static UnityEngine.GameObject gameobject

return gameobject for npcs, player or serverplayers; those gameobject creation/destruction/position are managed by graal like usual players/npc

TGraalVar
TGraalVar
UnityObjectLink
Functions
catcheventobject
static System.Void catcheventobject(
UnityObjectLink unityObject,
string eventName,
string functionName
)

adds an event handler for the specified object and event, third parameter is the function which receives the event (first parameter of the event will be the object for which the event occured)

Parameters
unityObject

object on which we catch the event

eventName
string

name of the event

functionName
string

function name to trigger if event is catched

Returns

System.Void

removeallcatcheventobject
static System.Void removeallcatcheventobject(
UnityObjectLink unityObject
)

remove all catcheventobjectfor the specified object

Parameters
unityObject

object on which we remove the events

Returns

System.Void

AnalyticsEvent
static System.Void AnalyticsEvent(
String eventName,
TGraalVar keyValueParisVar
)

AnalyticsEvent name + tgraalvar with children string key/value

Parameters
String

Event name

TGraalVar

with children string key/value

Returns

System.Void

GuiTextureCtrl
GuiTextureCtrl

Convenient GraalScript class to display a unity Texture2d into Graal GUI

Parent

<GuiControl>

Variables
texture
UnityEngine.Texture2D texture

Texture used to display texture or rendertexture from camera to Graal UI

GuiTextureCtrl

Convenient GraalScript class to display a unity Texture2d into Graal GUI

Parent

<GuiControl>

Variables
texture
UnityEngine.Texture2D texture

Texture used to display texture or rendertexture from camera to findimg