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

1.63版本 主工程中event类型 ,在热更工程中+= 注册使用, clr绑定现在不生成绑定代码? #359

Closed
dylanisbest opened this issue Jul 20, 2020 · 1 comment

Comments

@dylanisbest
Copy link

主工程测试类:

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 += () => {

    };
}

}

@xiongjie1207
Copy link

也遇到这个问题,有什么解决办法?

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

2 participants