MessageView.cs sprites etc
This commit is contained in:
parent
a53857c4d2
commit
79ac6ef9cb
181 changed files with 1092 additions and 352 deletions
29
Assets/Scripts/MessageView.cs
Normal file
29
Assets/Scripts/MessageView.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
public class MessageView : MonoBehaviour
|
||||
{
|
||||
#region Singleton
|
||||
|
||||
public static MessageView instance;
|
||||
|
||||
private void Awake() {
|
||||
if (instance != null) {
|
||||
Debug.LogWarning("More than one instance of MessageView found");
|
||||
}
|
||||
|
||||
instance = this;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public GameObject messageView;
|
||||
public TextMeshProUGUI message;
|
||||
|
||||
public void sendMessage(String msg, double duration) {
|
||||
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/MessageView.cs.meta
Normal file
11
Assets/Scripts/MessageView.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 226f2988544209541b54ccb2ebf036cd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue