add a bunch of gradients and set up the MNML vfx to use them
This commit is contained in:
1 parent
70ab364c08
commit
4e8d4eb8dc
20 files changed
+7289
-3912
No files matched your search
@@ -5,7 +5,7 @@ using UnityEngine;
|
||||
|
||||
[ExecuteAlways]
|
||||
public class Preferences : MonoBehaviour {
|
||||
ThemeSelector themeSelector;
|
||||
public ThemeSelector themeSelector;
|
||||
public PreferenceData data;
|
||||
|
||||
void Awake() {
|
||||
@@ -18,4 +18,8 @@ public class Preferences : MonoBehaviour {
|
||||
data.themeIndex = i;
|
||||
data.Save();
|
||||
}
|
||||
|
||||
public Gradient Theme() {
|
||||
return themeSelector.CurrentTheme();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user