chore: organized project ui structure
This commit is contained in:
parent
58ec07b1a0
commit
d6c618add0
10 changed files with 8 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
using Domain;
|
||||
using Presenter;
|
||||
using UnityEngine;
|
||||
using View.UI;
|
||||
|
||||
namespace View {
|
||||
public class Dependencies : MonoBehaviour {
|
||||
|
|
3
Assets/Scripts/View/UI.meta
Normal file
3
Assets/Scripts/View/UI.meta
Normal file
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8ed2eebce0014d24a29eea7ee5f51ba4
|
||||
timeCreated: 1713196313
|
|
@ -1,7 +1,7 @@
|
|||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace View {
|
||||
namespace View.UI {
|
||||
public class CloseButton : MonoBehaviour {
|
||||
private Button _button;
|
||||
|
|
@ -4,7 +4,7 @@ using Presenter;
|
|||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace View {
|
||||
namespace View.UI {
|
||||
public class ExpressionInput : MonoBehaviour, IExpressionInput {
|
||||
[SerializeField] private TMP_Text text;
|
||||
private ExpressionClick _click;
|
|
@ -4,7 +4,7 @@ using UnityEngine;
|
|||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace View {
|
||||
namespace View.UI {
|
||||
public class UIVisibility : MonoBehaviour, IExpressionInput {
|
||||
[SerializeField] private CanvasGroup ui;
|
||||
[SerializeField] private float fadeDuration = .5f;
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace View {
|
||||
namespace View.UI {
|
||||
public class UnfocusableEventSystem : EventSystem {
|
||||
//Dummy method to prevent calling base method
|
||||
protected override void OnApplicationFocus(bool hasFocus) { }
|
Loading…
Add table
Add a link
Reference in a new issue