Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug:一些情况下没有输出日志 #3

Open
dudu502 opened this issue Jul 4, 2024 · 0 comments
Open

bug:一些情况下没有输出日志 #3

dudu502 opened this issue Jul 4, 2024 · 0 comments

Comments

@dudu502
Copy link

dudu502 commented Jul 4, 2024

建一个dll库,写一个ILogger接口,把这个dll引入到unity项目中。再在Unity项目中实现这个接口
例如
UnityLogger:ILogger
{
public void Info(string msg)
{
Debug.Log(msg);
}
}
Case : 在dll里 如果有一个方法以调用接口的方式调用Info("xx");
问题:不会出现日志!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant