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>());
 }
예제 #5
0
 void LateUpdate()
 {
     Runner.Run(environment, "__instance.LateUpdate();");
 }
 void Start()
 {
     Runner.Run(environment, GetPropertyMethod("Start", 0), new List <object>());
 }
예제 #7
0
 void OnDisable()
 {
     Runner.Run(environment, "__instance.OnDisable();");
 }
예제 #8
0
 //loop methods
 void FixedUpdate()
 {
     Runner.Run(environment, "__instance.FixedUpdate();");
 }
예제 #9
0
 void OnDestroy()
 {
     Runner.Run(environment, "__instance.OnDestroy();");
 }
예제 #10
0
 void Start()
 {
     Runner.Run(environment, "__instance.Start();");
 }
예제 #11
0
 //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();");
 }
예제 #12
0
 public void OnCancel(BaseEventData e)
 {
     Runner.Run(environment, GetPropertyMethod("OnCancel", 0), new List <object>());
 }
예제 #13
0
 public void OnUpdateSelected(BaseEventData e)
 {
     Runner.Run(environment, GetPropertyMethod("OnUpdateSelected", 0), new List <object>());
 }