private void DisplayTutorialMessage(List <String> messages, TutorialImage imageID) { if (tutorialsUsed) { PopupHandler.DisplayMessageWithImage(new List <Sprite> { GetImageFromEnum(imageID) }, new List <int>(), messages.ToArray()); } }
private void DisplayTutorialMessage(String message, TutorialImage imageID) { if (tutorialsUsed) { PopupHandler.DisplayMessageWithImage(new List <Sprite>() { GetImageFromEnum(imageID) }, new List <int>() { }, message); } }
private void DisplayTutorialMessage(List <String> messages, List <TutorialImage> imageID, List <int> imageTriggers) { if (tutorialsUsed) { List <Sprite> sprites = new List <Sprite>(); foreach (TutorialImage imgID in imageID) { sprites.Add(GetImageFromEnum(imgID)); } PopupHandler.DisplayMessageWithImage(sprites, imageTriggers, messages.ToArray()); } }