Exemplo n.º 1
0
 void Update()
 {
     if (lastColorResource != colorResource)
     {
         lastColorResource = colorResource;
         colorsFileName    = colorResource.GetPath();
         colorName         = colorResource.GetName();
         ReloadResources();
     }
 }
Exemplo n.º 2
0
 void Update()
 {
     if (lastColorResource != colorResource)
     {
         lastColorResource = colorResource;
         colorsFileName    = colorResource.GetPath();
         colorName         = colorResource.GetName();
         Theme currentTheme = ThemeManager.Instance.GetCurrentTheme();
         ReloadResources(currentTheme);
     }
 }