public void HandleEvent(int key, params object[] args)
        {
            switch (key)
            {
            case (int)SetupEvent.ChangeAppearance:
            {
                AppearanceSlot slot = (AppearanceSlot)args[0];
                int            id   = (int)args[1];
                m_Appearance.SetAppearance(slot, id);
                m_Appearance.CombineMeshs();
                break;
            }

            case (int)SetupEvent.ChangeColor:
            {
                AppearanceColor slot  = (AppearanceColor)args[0];
                Color           color = (Color)args[1];
                m_Appearance.SetColor(slot, color);
                break;
            }
            }
        }
 public void ApplyAppearance(CharacterAppearance appearance)
 {
     SetAppearance(appearance);
     appearance.CombineMeshs();
 }