From eb84bb298d2b95aec7b2ae12cbf25ac64f25379a Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Sun, 6 Nov 2022 15:12:42 -0500 Subject: move to self host --- .../Examples/SceneRuntimeExample/MB_ExampleMover.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleMover.cs (limited to 'VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleMover.cs') diff --git a/VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleMover.cs b/VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleMover.cs new file mode 100644 index 00000000..14db6b7f --- /dev/null +++ b/VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleMover.cs @@ -0,0 +1,13 @@ +using UnityEngine; +using System.Collections; + +public class MB_ExampleMover : MonoBehaviour { + + public int axis = 0; + + void Update () { + Vector3 v1 = new Vector3(5f,5f,5f); + v1[axis] *= Mathf.Sin(Time.time); + transform.position = v1; + } +} -- cgit v1.2.3-freya