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:
parent
aac376670c
commit
2b5a227237
10 changed files with 142 additions and 1163 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue