We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
主工程测试类:
class TestEventDemo { private static TestEventDemo _singleton; public static TestEventDemo singleton { get { if (_singleton == null) { _singleton = new TestEventDemo(); } return _singleton; } }
public event Action testAction1;
}
热更新工程使用的类 class TestCase { public static void TestEvent() { TestEventDemo.singleton.testAction1 += () => {
}; }
The text was updated successfully, but these errors were encountered:
也遇到这个问题,有什么解决办法?
Sorry, something went wrong.
a13d5ee
No branches or pull requests
主工程测试类:
class TestEventDemo
{
private static TestEventDemo _singleton;
public static TestEventDemo singleton
{
get
{
if (_singleton == null)
{
_singleton = new TestEventDemo();
}
return _singleton;
}
}
}
热更新工程使用的类
class TestCase
{
public static void TestEvent()
{
TestEventDemo.singleton.testAction1 += () => {
}
The text was updated successfully, but these errors were encountered: