UberDebug.LogChannel C# (CSharp) Method

LogChannel() private method

private LogChannel ( UnityEngine context, string channel, string message ) : void
context UnityEngine
channel string
message string
return void
    public static void LogChannel(UnityEngine.Object context, string channel, string message, params object[] par)
    {
        UberLogger.Logger.Log(channel, context, LogSeverity.Message, message, par);
    }

Same methods

UberDebug::LogChannel ( string channel, string message ) : void

Usage Example

Ejemplo n.º 1
0
        private async void Answers_onRequest(IRequest request)
        {
            if (game.answers == null)
            {
                return;
            }
            await Task.Delay(1000);

            switch (request)
            {
            case InitReplaceRequest _:
                _ = game.answers.answer(player.id, new InitReplaceResponse()
                {
                    cardsId = new int[0]
                });
                break;

            case FreeActRequest _:
                _ = game.answers.answer(player.id, calcNextAction(game, player));
                break;

            default:
                UberDebug.LogChannel("AI", "AI未处理的询问:" + request);
                break;
            }
        }
All Usage Examples Of UberDebug::LogChannel