add a bunch of gradients and set up the MNML vfx to use them

This commit is contained in:
ntr committed 2022-04-01 15:37:08 +11:00
1 parent 70ab364c08
commit 4e8d4eb8dc
20 files changed
+7289 -3912

No files matched your search

+5 -1
View File
@@ -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();
}
}