Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UdonSharp;
- using UnityEngine;
- using VRC.SDKBase;
- using VRC.Udon;
- public class U_ClickTeleport : UdonSharpBehaviour
- {
- public Transform Target;
- public override void Interact()
- {
- Networking.LocalPlayer.TeleportTo(Target.position,Target.rotation);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement