Les Icônes se mettent correctement à jour durant la partie. Update de BaseMonoBehaviour, on peux maintenant ajouter une couleur a Info().

This commit is contained in:
mrtoine 2025-10-13 10:15:54 +02:00
parent aac376670c
commit 2b5a227237
10 changed files with 142 additions and 1163 deletions

View file

@ -1,5 +1,6 @@
using System.Collections.Generic;
using Core.Runtime.Interfaces;
using UnityEditor.Graphs;
using UnityEngine;
namespace Core.Runtime
@ -101,9 +102,14 @@ namespace Core.Runtime
#region DEBUG
protected void Info(string message)
protected void Info(string message, Color color)
{
Debug.Log(message);
if (color == null)
{
color = Color.aliceBlue;
}
Debug.Log($"<color=#{ColorUtility.ToHtmlStringRGB(color)}>{message}</color>");
}
protected void Error(string message)