UnityEngine.DebugLogHandler.LogFormat C# (CSharp) 메소드

LogFormat() 공개 메소드

public LogFormat ( LogType logType, UnityEngine context, string format ) : void
logType LogType
context UnityEngine
format string
리턴 void
        public void LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args)
        {
            Internal_Log(logType, string.Format(format, args), context);
        }
    }

Usage Example

예제 #1
0
        public static void LogFormat(LogType logType, LogOption logOptions, Object context, string format, params object[] args)
        {
            DebugLogHandler debugLogHandler = Debug.unityLogger.logHandler as DebugLogHandler;
            bool            flag            = debugLogHandler == null;

            if (flag)
            {
                Debug.unityLogger.LogFormat(logType, context, format, args);
            }
            else
            {
                debugLogHandler.LogFormat(logType, logOptions, context, format, args);
            }
        }