miepzerino
2025-03-30 d2ab30e7a69bfe7efda63ae75812207377917bd3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using UnityEngine;
 
namespace Flexalon
{
    internal class FlexalonLog
    {
        [System.Diagnostics.Conditional("FLEXALON_LOG")]
        public static void Log(string message)
        {
            Debug.Log(message);
        }
 
        [System.Diagnostics.Conditional("FLEXALON_LOG")]
        public static void Log(string message, FlexalonNode node)
        {
            Debug.Log(message + " (" + node?.GameObject?.name + ")");
        }
 
        [System.Diagnostics.Conditional("FLEXALON_LOG")]
        public static void Log(string message, FlexalonNode node, params object[] values)
        {
            Debug.Log(message + " (" + node?.GameObject?.name + "): " + string.Join(", ", values));
        }
    }
}