void updateShopItems()
{
for (int i = 0; i <= (vars.characters.Count - 1); i++)
{
GL.Label("Character " + (i + 1) + " options:", EditorStyles.boldLabel);
BV();
GL.Label("Sprite1 for Open Eye / Sprite2 for Close Eye ", EditorStyles.boldLabel);
BH();
vars.characters[i].gameCharacterSprite1 = EGL.ObjectField("Game Character sprite1", vars.characters[i].gameCharacterSprite1, typeof(Sprite), false) as Sprite;
vars.characters[i].gameCharacterSprite2 = EGL.ObjectField("Game Character sprite2", vars.characters[i].gameCharacterSprite2, typeof(Sprite), false) as Sprite;
EH();
BH();
vars.characters[i].shopCharacterSprite = EGL.ObjectField("Shop Character sprite", vars.characters[i].shopCharacterSprite, typeof(Sprite), false) as Sprite;
EH();
BH();
vars.characters[i].characterName = EGL.TextField("Character name", vars.characters[i].characterName);
if (i != 0)
{
vars.characters[i].characterPrice = EGL.IntField("Character price", vars.characters[i].characterPrice);
}
EH();
EV();
separator();
}
}