Created
March 26, 2015 12:37
-
-
Save CosmoCleaner/688c944aea6129fbce12 to your computer and use it in GitHub Desktop.
LiveConsole用ログ出力クラス
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
/// <summary> | |
/// LiveConsoleログ | |
/// </summary> | |
public class LCLog : MonoBehaviour { | |
/// <summary> | |
/// ソケット通信のログ | |
/// </summary> | |
public static void Socket(string log) | |
{ | |
Debug.Log(string.Format("[Socket:g]{0}", log)); | |
} | |
/// <summary> | |
/// 警告 | |
/// </summary> | |
public static void Alert(string log) | |
{ | |
Debug.Log (string.Format ("[Alert:r]{0}", log)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment