// Use this for initialization void Awake() { if (isOverride) { PaletteContainer = CreatePalettes(); } else { PaletteContainer = LoadPalette(); } PaletteManager.SelectPalette(Palettes[selectPaletteIndex].name); MaterialManager.Init(); MaterialManager.InitMaterials(); }