Introducing the UI and ToastManager

This commit is contained in:
Jan Groß
2018-09-01 03:08:44 +02:00
parent e21dec9211
commit 39cef21b81
13 changed files with 1110 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Intro : MonoBehaviour {
[SerializeField]
private List<ToastMessage> messages;
[SerializeField]
private UIManager uiManager;
// Use this for initialization
void Start () {
foreach( ToastMessage msg in messages)
{
msg.SetUIManager(uiManager);
uiManager.QueueMessage(msg);
}
}
// Update is called once per frame
void Update () {
}
}