From 5165a71bbd87391e18e2407aeb69f8a637ce36d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=8A=B9=EC=97=B0?= Date: Tue, 31 Dec 2024 21:00:44 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT]=20ErrorHandler=20=EB=AA=A8=EB=93=88=20?= =?UTF-8?q?=EC=A0=9C=EC=9E=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DateWithKing/Assets/Scripts/Util/Define.cs | 5 ++++- DateWithKing/Assets/Scripts/Util/ErrorHandler.cs | 11 +++++++++++ DateWithKing/Assets/Scripts/Util/ErrorHandler.cs.meta | 11 +++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 DateWithKing/Assets/Scripts/Util/ErrorHandler.cs create mode 100644 DateWithKing/Assets/Scripts/Util/ErrorHandler.cs.meta diff --git a/DateWithKing/Assets/Scripts/Util/Define.cs b/DateWithKing/Assets/Scripts/Util/Define.cs index 12a27e33..ccf92051 100644 --- a/DateWithKing/Assets/Scripts/Util/Define.cs +++ b/DateWithKing/Assets/Scripts/Util/Define.cs @@ -7,5 +7,8 @@ /// public class Define { - + public enum Error + { + + } } diff --git a/DateWithKing/Assets/Scripts/Util/ErrorHandler.cs b/DateWithKing/Assets/Scripts/Util/ErrorHandler.cs new file mode 100644 index 00000000..691ca6fb --- /dev/null +++ b/DateWithKing/Assets/Scripts/Util/ErrorHandler.cs @@ -0,0 +1,11 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public static class ErrorHandler +{ + public static void PrintError(Define.Error error) + { + Debug.LogError(error.ToString()); + } +} diff --git a/DateWithKing/Assets/Scripts/Util/ErrorHandler.cs.meta b/DateWithKing/Assets/Scripts/Util/ErrorHandler.cs.meta new file mode 100644 index 00000000..c713b6e4 --- /dev/null +++ b/DateWithKing/Assets/Scripts/Util/ErrorHandler.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e75f7089eb541cd429c3f9e0005e36f5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: