예제 #1
0
    // Use this for initialization
    void Awake()
    {
        if (isOverride)
        {
            PaletteContainer = CreatePalettes();
        }
        else
        {
            PaletteContainer = LoadPalette();
        }

        PaletteManager.SelectPalette(Palettes[selectPaletteIndex].name);

        MaterialManager.Init();
        MaterialManager.InitMaterials();
    }