void OnDisable() { Lib.SetLogFunc(null); Lib.SetErrorFunc(null); }
void OnEnable() { Lib.SetLogFunc(onDebugLog); Lib.SetErrorFunc(onDebugErr); }