Skip to content

Instantly share code, notes, and snippets.

@TakaakiIchijo
Created August 11, 2014 13:32
Show Gist options
  • Save TakaakiIchijo/bf98f4fd1e413003bd6c to your computer and use it in GitHub Desktop.
Save TakaakiIchijo/bf98f4fd1e413003bd6c to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
namespace Util {
public class DebugInEditor : MonoBehaviour
{
public static void Log(string log)
{
#if UNITY_EDITOR
Debug.Log(log);
#endif
}
}
}
@TakaakiIchijo
Copy link
Author

Debug.Logの実機動作が重いのでエディタ内以外は切っちゃう

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment