void LateUpdate() { Runner.Run(environment, GetPropertyMethod("LateUpdate", 0), new List <object>()); }
void OnMouseExit() { Runner.Run(environment, GetPropertyMethod("OnMouseExit", 0), new List <object>()); }
void OnDestroy() { Runner.Run(environment, GetPropertyMethod("OnDestroy", 0), new List <object>()); }
void OnDisable() { Runner.Run(environment, GetPropertyMethod("OnDisable", 0), new List <object>()); }
void LateUpdate() { Runner.Run(environment, "__instance.LateUpdate();"); }
void Start() { Runner.Run(environment, GetPropertyMethod("Start", 0), new List <object>()); }
void OnDisable() { Runner.Run(environment, "__instance.OnDisable();"); }
//loop methods void FixedUpdate() { Runner.Run(environment, "__instance.FixedUpdate();"); }
void OnDestroy() { Runner.Run(environment, "__instance.OnDestroy();"); }
void Start() { Runner.Run(environment, "__instance.Start();"); }
//creation/destruction methods void Awake() { environment = Runner.RunFile("Assets/" + toyScript + ".toy"); Runner.Run(environment, $"const __instance = Unity.Fetch(\"{this.gameObject.name}\");"); Runner.Run(environment, "__instance.Awake();"); }
public void OnCancel(BaseEventData e) { Runner.Run(environment, GetPropertyMethod("OnCancel", 0), new List <object>()); }
public void OnUpdateSelected(BaseEventData e) { Runner.Run(environment, GetPropertyMethod("OnUpdateSelected", 0), new List <object>()); }