1. Method called by Js
2.在构造函数中加上 HtmlPage.RegisterScriptableObject("Builder", this); //一定要加。 xamlObject.content.Builder.CreateRect(100,50);
3.Js
1. Method called by Js
2.在构造函数中加上 HtmlPage.RegisterScriptableObject("Builder", this); //一定要加。 xamlObject.content.Builder.CreateRect(100,50);
3.Js