Rewrote video player code to be simpler and more useful for our purposes.
This commit is contained in:
@@ -37,16 +37,20 @@ public class LocationBoard : UdonSharpBehaviour
|
||||
[UdonSynced, FieldChangeCallback(nameof(RandomMaterialSettings))] private int[] _RandomMaterialSettings;
|
||||
|
||||
|
||||
private void Start()
|
||||
void Start()
|
||||
{
|
||||
_HasBeenCheckedBefore = new bool[LocationPanelsEmpty.Length];
|
||||
|
||||
|
||||
|
||||
_Animator = GetComponent<Animator>();
|
||||
_LootImageDownloader = new VRCImageDownloader();
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
_LootImageDownloader.Dispose();
|
||||
}
|
||||
|
||||
|
||||
[NetworkCallable]
|
||||
public void RevealPanel(int Panel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user