random bits and pieces that forget to commit...

This commit is contained in:
alexiscatnip
2022-02-14 00:40:26 +08:00
parent 9999c38ce2
commit 6ccd29d1f0
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ namespace Raindrop.Services.Bootstrap
[SerializeField] public ModalManager mm;
[SerializeField] public ScreensManager sm;
[SerializeField] public LoadingCanvasPresenter ll;
[SerializeField] public LoadingPresenter ll;
// bootstraps the UI.
+2 -1
View File
@@ -14,7 +14,8 @@
"GUID:0d8beb7f090555447a6cf5ce9e54dbb4",
"GUID:11f3455556175aa41b2b4d4f2ec8b146",
"GUID:75469ad4d38634e559750d17036d5f7c",
"GUID:a8cf6376c8aac1e43b688324ad3f22de"
"GUID:a8cf6376c8aac1e43b688324ad3f22de",
"GUID:4307f53044263cf4b835bd812fc161a4"
],
"includePlatforms": [],
"excludePlatforms": [],
@@ -1,5 +1,6 @@
using System;
using OpenMetaverse;
using Raindrop.Netcom;
using UnityEngine;
namespace Raindrop.UI.chat
@@ -8,6 +9,7 @@ namespace Raindrop.UI.chat
public class LocalChatPresenter : MonoBehaviour
{
private RaindropInstance instance => ServiceLocator.ServiceLocator.Instance.Get<RaindropInstance>();
private RaindropNetcom netcom => instance.Netcom;
public TMPTextFieldPrinter printer; //the component in the textbox
public LocalChatManager LocalChatManager;
@@ -16,7 +18,12 @@ namespace Raindrop.UI.chat
private void Start()
{
LocalChatManager = new LocalChatManager(instance, printer); //kind of like inject logic into the textbox.
netcom.ChatSent += Netcom_ChatSent;
}
private void Netcom_ChatSent(object sender, ChatSentEventArgs e)
{
ClearTextInput();
}
// allow UI input field to send outgoing chat to the simulator.
-8
View File
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: e5114afc5020e0f42a729803013926ff
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: