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;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.VFX;
|
||||||
|
|
||||||
public class Loader : MonoBehaviour {
|
public class Loader : MonoBehaviour {
|
||||||
public KeyCode NextButton = KeyCode.Space;
|
public KeyCode NextButton = KeyCode.Space;
|
||||||
@@ -16,6 +17,7 @@ public class Loader : MonoBehaviour {
|
|||||||
|
|
||||||
foreach (GameObject v in vis) {
|
foreach (GameObject v in vis) {
|
||||||
v.SetActive(false);
|
v.SetActive(false);
|
||||||
|
v.GetComponent<VisualEffect>().enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
_count = vis.Length;
|
_count = vis.Length;
|
||||||
|
|||||||
+1105
-1199
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user