네임스페이스 수정
This commit is contained in:
parent
86af2ec92a
commit
355f05a4dd
@ -1,4 +1,3 @@
|
||||
|
||||
using System.Linq;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor.AddressableAssets;
|
||||
|
@ -1,7 +1,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DDD.Editor
|
||||
namespace DDD
|
||||
{
|
||||
public class AssetPostProcessor : AssetPostprocessor
|
||||
{
|
||||
|
@ -1,13 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Superlazy;
|
||||
using UnityEditor;
|
||||
using UnityEditor.U2D;
|
||||
using UnityEngine;
|
||||
using UnityEngine.U2D;
|
||||
|
||||
namespace DDD.Editor
|
||||
namespace DDD
|
||||
{
|
||||
public static class AssetPostprocessorSprite
|
||||
{
|
||||
|
@ -1,13 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class BillBoardVisual : MonoBehaviour
|
||||
namespace DDD
|
||||
{
|
||||
public class BillBoardVisual : MonoBehaviour
|
||||
{
|
||||
private Camera cam;
|
||||
|
||||
void Start()
|
||||
{
|
||||
cam = Camera.main;
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
@ -15,4 +16,5 @@ void LateUpdate()
|
||||
{
|
||||
transform.localRotation = cam.transform.localRotation;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,9 +1,10 @@
|
||||
using DDD;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
public class ItemUI : MonoBehaviour
|
||||
namespace DDD
|
||||
{
|
||||
public class ItemUI : MonoBehaviour
|
||||
{
|
||||
public TextMeshProUGUI nameText;
|
||||
|
||||
private Item _item;
|
||||
@ -18,4 +19,5 @@ private void UpdateItem()
|
||||
{
|
||||
nameText.text = _item.Name;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
using System.Diagnostics;
|
||||
using UnityEngine;
|
||||
|
||||
public class CellManager : MonoBehaviour
|
||||
namespace DDD
|
||||
{
|
||||
public class CellManager : MonoBehaviour
|
||||
{
|
||||
public RectTransform cellCanvas;
|
||||
public CellUI cell;
|
||||
|
||||
@ -101,4 +102,5 @@ public void SetupCell(Vector3 position)
|
||||
{
|
||||
tiles[GetCellID(WorldToCell(position))] = 1;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,10 +1,11 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class CellUI : MonoBehaviour
|
||||
namespace DDD
|
||||
{
|
||||
public class CellUI : MonoBehaviour
|
||||
{
|
||||
public Color emptyColor = Color.white;
|
||||
public Color selectedColor = Color.white;
|
||||
public Color batchedColor = Color.white;
|
||||
@ -43,4 +44,5 @@ private void OnDrawGizmos()
|
||||
Handles.color = Color.black;
|
||||
Handles.Label(pos, CellManager.WorldToCell(transform.position).ToString());
|
||||
}
|
||||
}
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEngine;
|
||||
using UnityEngine.InputSystem;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
namespace DDD
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user