static int GameObjectMethodFindSystemString(int nameHandle) { var obj = UnityEngine.GameObject.Find((System.String)ObjectStore.Get(nameHandle)); int handle = ObjectStore.Store(obj); return(handle); }
static int StringNew( string chars) { int handle = ObjectStore.Store(chars); return(handle); }
static int ComponentPropertyGetTransform(int thisHandle) { var thiz = (UnityEngine.Component)ObjectStore.Get(thisHandle); var obj = thiz.transform; int handle = ObjectStore.Store(obj); return(handle); }
static int GameObjectMethodAddComponentMyGameMonoBehavioursTestScript(int thisHandle) { var thiz = (UnityEngine.GameObject)ObjectStore.Get(thisHandle); var obj = thiz.AddComponent <MyGame.MonoBehaviours.TestScript>(); int handle = ObjectStore.Store(obj); return(handle); }
static int ObjectPropertyGetName(int thisHandle) { var thiz = (UnityEngine.Object)ObjectStore.Get(thisHandle); var obj = thiz.name; int handle = ObjectStore.Store(obj); return(handle); }
static int GameObjectConstructorSystemString(int nameHandle) { var obj = ObjectStore.Store(new UnityEngine.GameObject((System.String)ObjectStore.Get(nameHandle))); return(obj); }
static int GameObjectConstructor() { var obj = ObjectStore.Store(new UnityEngine.GameObject()); return(obj); }
static int StopwatchConstructor() { var obj = ObjectStore.Store(new System.Diagnostics.Stopwatch()); return(obj); }