미사용 클래스 삭제 및 컴파일러 경고 수정
This commit is contained in:
@@ -27,7 +27,6 @@ namespace Studio.UVC.UI
|
||||
public int TrayCount { get => trayCount; }
|
||||
|
||||
private bool isFirst = false;
|
||||
private bool ishvc = false;
|
||||
private RectTransform rect;
|
||||
public RectTransform Rect { get { return rect; } }
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace Studio.UVC.UI
|
||||
private UISideLoadFactory Create()
|
||||
{
|
||||
var asset = Resources.Load<GameObject>(UISideLoadFactory.PrefabsPath);
|
||||
var canvas = FindObjectOfType<CreateUIPanel>();
|
||||
var canvas = FindAnyObjectByType<CreateUIPanel>();
|
||||
var item = Instantiate<GameObject>(asset, canvas.transform);
|
||||
item.transform.localScale = Vector3.one;
|
||||
var panel = item.AddComponent<UISidePanel>();
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Studio.UI
|
||||
public Action<ELogic> onClickCreateUI;
|
||||
|
||||
|
||||
public override async void AfterAwake()
|
||||
public override void AfterAwake()
|
||||
{
|
||||
Button_AppSetting.onClick.AddListener(OnClickAppSetting);
|
||||
Button_Authentication.onClick.AddListener(OnClickAuthentication);
|
||||
|
||||
@@ -23,15 +23,10 @@ namespace Studio.UI
|
||||
public Button Button_DataStorage;
|
||||
public Button Button_DataUpdateSetting;
|
||||
|
||||
public event Action onClickDataStorage;
|
||||
public event Action onClickDataUpdateSetting;
|
||||
|
||||
/*Build*/
|
||||
public Button Button_Build;
|
||||
public Button Button_Run;
|
||||
|
||||
public event Action onClickBuild;
|
||||
public event Action onClickRun;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
using UnityEngine;
|
||||
using Studio.Asset;
|
||||
using Studio.Command;
|
||||
|
||||
namespace Studio.Command
|
||||
{
|
||||
public class CreateInterferedObjectButtonCommand : IReversibleCommand
|
||||
{
|
||||
public CreateInterferedObjectButtonCommand()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public string id { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
|
||||
|
||||
public bool CanExecute()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
}
|
||||
|
||||
public void Undo()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 57aaa2e5b1c74a74b955b7cdc045e483
|
||||
@@ -1,15 +0,0 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
using XRLib;
|
||||
|
||||
namespace Studio
|
||||
{
|
||||
public class LocalItem
|
||||
{
|
||||
public FileInfo fileInfo;
|
||||
public DirectoryInfo directoryInfo;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c9dd25c3ae25c904fb416d01a1c3f5e6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -11,13 +11,13 @@ namespace Studio.Setting.Connect
|
||||
private APIState state;
|
||||
public APIState State { get => state; }
|
||||
|
||||
private string? entity;
|
||||
private string entity;
|
||||
public string Entity { get => entity; }
|
||||
|
||||
private string? message;
|
||||
public string? Message { get => message; }
|
||||
|
||||
public StudioEntityWithState(APIState state, string entity , string? message = null)
|
||||
public StudioEntityWithState(APIState state, string entity , string message="")
|
||||
{
|
||||
this.state = state;
|
||||
this.entity = entity;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -8,9 +6,6 @@ namespace Studio.VirtualFactory
|
||||
{
|
||||
public class AGVNode : TwinObject
|
||||
{
|
||||
public event Action onEnterEvent;
|
||||
public event Action onExitEvent;
|
||||
|
||||
public List<AGVNode> linkedNodes = new();
|
||||
public bool reserved;
|
||||
public Transform nextConveyor;
|
||||
|
||||
@@ -11,8 +11,5 @@ namespace Studio.VirtualFactory
|
||||
}
|
||||
public PortType portType;
|
||||
public Loader loader;
|
||||
|
||||
public event Action onLoadEvent;
|
||||
public event Action onUnloadEvent;
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ namespace Studio.VirtualFactory
|
||||
|
||||
void Start()
|
||||
{
|
||||
FindObjectOfType<DataReader>().onMessageReceived += DataDistribute;
|
||||
FindAnyObjectByType<DataReader>().onMessageReceived += DataDistribute;
|
||||
}
|
||||
|
||||
public void DataDistribute(string topic, string data)
|
||||
|
||||
@@ -19,6 +19,12 @@ namespace Studio.UI
|
||||
void Awake()
|
||||
{
|
||||
canvas = GetComponentInParent<Canvas>();
|
||||
onDisableEvent += ResetAnchor;
|
||||
}
|
||||
|
||||
void ResetAnchor(UIBase ui)
|
||||
{
|
||||
rectTransform.anchoredPosition = new Vector2(-Screen.width, 0);
|
||||
}
|
||||
public void HandleOpenClose(AssetLibraryItem selectedItem)
|
||||
{
|
||||
@@ -52,10 +58,5 @@ namespace Studio.UI
|
||||
|
||||
rectTransform.anchoredPosition = new Vector2((float)onGetPosition?.Invoke(), pos.y);
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
rectTransform.anchoredPosition = new Vector2(-Screen.width, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,18 +68,10 @@ namespace Studio.UI
|
||||
{
|
||||
Debug.LogError("GUIWindow¿¡ Header°¡ ¾øÀ½: " + gameObject.name);
|
||||
}
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
InitializeState();
|
||||
onEnableEvent += (a)=>InitializeState();
|
||||
onDisableEvent += (a) => InitializeState();
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
InitializeState();
|
||||
}
|
||||
|
||||
public void OnPointerDown(PointerEventData eventData)
|
||||
{
|
||||
SetPanelAsLastSibling();
|
||||
|
||||
@@ -40,21 +40,6 @@ namespace Studio.UVC.UI
|
||||
}
|
||||
}
|
||||
|
||||
private void SetPadding(LayoutGroup layoutGroup)
|
||||
{
|
||||
//layoutGroup.padding.
|
||||
if(layoutGroup is HorizontalLayoutGroup)
|
||||
{
|
||||
|
||||
}
|
||||
switch (layoutGroup)
|
||||
{
|
||||
//case layoutGroup as VerticalLayoutGroup:
|
||||
// break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void SetLayOutGroupItem<T>(List<T>items,Vector2 cellSize)
|
||||
{
|
||||
if(!scrollRect.gameObject.TryGetComponent<GridLayoutGroup>(out var layout))
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace XRLib
|
||||
public static partial class Core
|
||||
{
|
||||
#pragma warning disable IDE0090 // 'new(...)' 사용
|
||||
static Queue<MonoBehaviour> watingQueue = new Queue<MonoBehaviour>();
|
||||
internal static Dictionary<MonoBehaviour, GameObject> monoTable = new Dictionary<MonoBehaviour, GameObject>();
|
||||
internal static Dictionary<int, MonoBehaviour> singleTable = new Dictionary<int, MonoBehaviour>();
|
||||
internal static Dictionary<int, MonoBehaviour> keyTable = new Dictionary<int, MonoBehaviour>();
|
||||
|
||||
@@ -19,7 +19,8 @@ namespace XRLib
|
||||
internal static Queue<MonoBehaviour> initializerList = new();
|
||||
static Queue<MonoBehaviour> afterInitializerList = new();
|
||||
static Queue<MonoBehaviour> registWatingQueue = new();
|
||||
//[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
|
||||
|
||||
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
|
||||
static void MonoTracking()
|
||||
{
|
||||
while (registWatingQueue.Count > 0)
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"com.unity.multiplayer.center": "1.0.0",
|
||||
"com.unity.nuget.newtonsoft-json": "3.2.1",
|
||||
"com.unity.profiling.core": "1.0.2",
|
||||
"com.unity.project-auditor": "1.0.1",
|
||||
"com.unity.render-pipelines.universal": "17.0.3",
|
||||
"com.unity.timeline": "1.8.7",
|
||||
"com.unity.ugui": "2.0.0",
|
||||
|
||||
@@ -202,16 +202,6 @@
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.project-auditor": {
|
||||
"version": "1.0.1",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.nuget.mono-cecil": "1.10.1",
|
||||
"com.unity.nuget.newtonsoft-json": "3.2.1"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.render-pipelines.core": {
|
||||
"version": "17.0.3",
|
||||
"depth": 1,
|
||||
|
||||
Reference in New Issue
Block a user