네임스페이스 수정

This commit is contained in:
NTG_Lenovo 2025-07-02 17:09:53 +09:00
parent 86af2ec92a
commit 355f05a4dd
8 changed files with 158 additions and 154 deletions

View File

@ -1,4 +1,3 @@
using System.Linq; using System.Linq;
#if UNITY_EDITOR #if UNITY_EDITOR
using UnityEditor.AddressableAssets; using UnityEditor.AddressableAssets;

View File

@ -1,7 +1,7 @@
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
namespace DDD.Editor namespace DDD
{ {
public class AssetPostProcessor : AssetPostprocessor public class AssetPostProcessor : AssetPostprocessor
{ {

View File

@ -1,13 +1,12 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq;
using Superlazy; using Superlazy;
using UnityEditor; using UnityEditor;
using UnityEditor.U2D; using UnityEditor.U2D;
using UnityEngine; using UnityEngine;
using UnityEngine.U2D; using UnityEngine.U2D;
namespace DDD.Editor namespace DDD
{ {
public static class AssetPostprocessorSprite public static class AssetPostprocessorSprite
{ {

View File

@ -1,13 +1,14 @@
using UnityEngine; using UnityEngine;
public class BillBoardVisual : MonoBehaviour namespace DDD
{ {
public class BillBoardVisual : MonoBehaviour
{
private Camera cam; private Camera cam;
void Start() void Start()
{ {
cam = Camera.main; cam = Camera.main;
} }
// Update is called once per frame // Update is called once per frame
@ -15,4 +16,5 @@ void LateUpdate()
{ {
transform.localRotation = cam.transform.localRotation; transform.localRotation = cam.transform.localRotation;
} }
}
} }

View File

@ -1,9 +1,10 @@
using DDD;
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
public class ItemUI : MonoBehaviour namespace DDD
{ {
public class ItemUI : MonoBehaviour
{
public TextMeshProUGUI nameText; public TextMeshProUGUI nameText;
private Item _item; private Item _item;
@ -18,4 +19,5 @@ private void UpdateItem()
{ {
nameText.text = _item.Name; nameText.text = _item.Name;
} }
}
} }

View File

@ -1,8 +1,9 @@
using System.Diagnostics;
using UnityEngine; using UnityEngine;
public class CellManager : MonoBehaviour namespace DDD
{ {
public class CellManager : MonoBehaviour
{
public RectTransform cellCanvas; public RectTransform cellCanvas;
public CellUI cell; public CellUI cell;
@ -101,4 +102,5 @@ public void SetupCell(Vector3 position)
{ {
tiles[GetCellID(WorldToCell(position))] = 1; tiles[GetCellID(WorldToCell(position))] = 1;
} }
}
} }

View File

@ -1,10 +1,11 @@
using System;
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
public class CellUI : MonoBehaviour namespace DDD
{ {
public class CellUI : MonoBehaviour
{
public Color emptyColor = Color.white; public Color emptyColor = Color.white;
public Color selectedColor = Color.white; public Color selectedColor = Color.white;
public Color batchedColor = Color.white; public Color batchedColor = Color.white;
@ -43,4 +44,5 @@ private void OnDrawGizmos()
Handles.color = Color.black; Handles.color = Color.black;
Handles.Label(pos, CellManager.WorldToCell(transform.position).ToString()); Handles.Label(pos, CellManager.WorldToCell(transform.position).ToString());
} }
}
} }

View File

@ -1,9 +1,7 @@
using System;
using System.Collections; using System.Collections;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using UnityEngine; using UnityEngine;
using UnityEngine.InputSystem; using UnityEngine.InputSystem;
using UnityEngine.Serialization;
namespace DDD namespace DDD
{ {