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