feature: Message behaviour separation
This commit is contained in:
parent
c66047cd26
commit
4b5689a283
7 changed files with 72 additions and 12 deletions
14
Assets/Scripts/Messaging/MessageManager.cs
Normal file
14
Assets/Scripts/Messaging/MessageManager.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Messaging {
|
||||
public class MessageManager : MonoBehaviour{
|
||||
[SerializeField] private MessageStructureGenerator messageStructureGenerator;
|
||||
|
||||
private Message[] _messages;
|
||||
|
||||
private void Awake() {
|
||||
_messages = messageStructureGenerator.GenerateMessages();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue