5 using System.Collections.Generic;
21 public abstract void SetTheme();
41 mThemeUpdated =
false;
58 colorThemes = FindObjectsOfType<ColorInteractiveTheme>();
59 theme = FindColorTheme(colorThemes, tag);
62 if (!mThemeUpdated) mThemeUpdated = theme != null;
70 for (
int i = 0; i < colorThemes.Length; ++i)
72 if (colorThemes[i].Tag == tag)
74 return colorThemes[i];
95 vector3Themes = FindObjectsOfType<Vector3InteractiveTheme>();
96 theme = FindVector3Theme(vector3Themes, tag);
99 if (!mThemeUpdated) mThemeUpdated = theme != null;
107 for (
int i = 0; i < vector3Themes.Length; ++i)
109 if (vector3Themes[i].Tag == tag)
111 return vector3Themes[i];
132 textureThemes = FindObjectsOfType<TextureInteractiveTheme>();
133 theme = FindTextureTheme(textureThemes, tag);
136 if (!mThemeUpdated) mThemeUpdated = theme != null;
144 for (
int i = 0; i < textureThemes.Length; ++i)
146 if (textureThemes[i].Tag == tag)
148 return textureThemes[i];