void Update() { if (lastColorResource != colorResource) { lastColorResource = colorResource; colorsFileName = colorResource.GetPath(); colorName = colorResource.GetName(); ReloadResources(); } }
void Update() { if (lastColorResource != colorResource) { lastColorResource = colorResource; colorsFileName = colorResource.GetPath(); colorName = colorResource.GetName(); Theme currentTheme = ThemeManager.Instance.GetCurrentTheme(); ReloadResources(currentTheme); } }