add numberstand to downcount
This commit is contained in:
16
Assets/Quiz/Scripts/VisibleToMasterOnly.cs
Normal file
16
Assets/Quiz/Scripts/VisibleToMasterOnly.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
using UdonSharp;
|
||||
using UnityEngine;
|
||||
using VRC.SDKBase;
|
||||
using VRC.Udon;
|
||||
|
||||
public class VisibleToMasterOnly : UdonSharpBehaviour
|
||||
{
|
||||
void Start()
|
||||
{
|
||||
if (!Networking.IsOwner(this.gameObject))
|
||||
{
|
||||
this.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user