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 Muro : UdonSharpBehaviour
- {
- public GameObject gameObject;
- void Start()
- {
- }
- public override void Interact()
- {
- gameObject.SetActive(!gameObject.activeSelf);
- }
- private void Update()
- {
- transform.Rotate(Vector3.up, 90f * Time.deltaTime);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement