Advertisement
salahzar

Muro.cs

Sep 14th, 2021
1,701
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. using UdonSharp;
  2. using UnityEngine;
  3. using VRC.SDKBase;
  4. using VRC.Udon;
  5.  
  6. public class Muro : UdonSharpBehaviour
  7. {
  8.  
  9. public GameObject ganeObjecfg
  10.  
  11. void Start()
  12. {
  13. }
  14.  
  15. public override void Interact()
  16. {
  17. gameObject.SetActive(!gameObject.activeSelf);
  18. }
  19.  
  20. private void Update()
  21. {
  22. transform.Rotate(Vector3.up, 90f * Time.deltaTime);
  23. }
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement