public void Log(string str) { if (showOnPanel && debugview != null) { debugview.Log(str); } else { Debug.Log(str); } }
private void OnEnable() { debug.Log("Unity Enable"); }