init controls
This commit is contained in:
1 parent
d584f45dd3
commit
0e3c85bac3
2 files changed
+1107
-1199
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.VFX;
|
||||
|
||||
public class Loader : MonoBehaviour {
|
||||
public KeyCode NextButton = KeyCode.Space;
|
||||
@@ -16,6 +17,7 @@ public class Loader : MonoBehaviour {
|
||||
|
||||
foreach (GameObject v in vis) {
|
||||
v.SetActive(false);
|
||||
v.GetComponent<VisualEffect>().enabled = true;
|
||||
}
|
||||
|
||||
_count = vis.Length;
|
||||
|
||||
Reference in new issue
Block a user