feat():大改前的提交,这个版本保存了所有冗余的代码

This commit is contained in:
2025-10-17 15:10:19 +08:00
parent 668bfe12eb
commit 3d03c59dc3
68 changed files with 2045 additions and 159 deletions

View File

@@ -0,0 +1,20 @@
using Core;
using UnityEngine;
using UnityEngine;
namespace UI
{
public class FacilityComponentEditViewer : MonoBehaviour
{
public Component component;
public bool IsOpen;
public void SetComponent()
{
if (component != null)
{
IsOpen = !IsOpen;
component.gameObject.SetActive(IsOpen);
}
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 126d8afe0e304d548dc13c4df6405e17
timeCreated: 1760671378

View File

@@ -0,0 +1,24 @@
using System;
using UnityEngine;
using Core;
using Gameplay.Player;
using Script.Gameplay.Facility;
namespace UI
{
public class PlayerEditPanelViewer : UIBase
{
private PlayerEditController controller;
private FacilityController currentFacilityController;
private void Start()
{
}
// 根据currentFacilityController 生成其对应的组件
private void GenerateComponent()
{
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 29d585e25c3a4840871167630b3c7a49
timeCreated: 1760670557

View File

@@ -13,7 +13,7 @@ namespace UI
private void Start()
{
UIViewerControllerLocator.Instance.TryGetWait<PlayerController>(OnGet);
ControllerLocator.Instance.TryGetWait<PlayerController>(OnGet);
}
private void Update()