Re: How to work with UI Scaleform in C#?

private void CreateAndAccessUI()

//Create or Get Instance of UI Element
Common.IUIElement mUIElement = Common.Global.gEnv.pFlashUI.GetUIElement("GFXTest");

//Call a function
TUIData data = new TUIData();
SUIArguments args = new SUIArguments();
SFlashVarValue fVal = new SFlashVarValue("Test");
args.AddArguments(fVal, 1);
mUIElement.CallFunction("TestFunction", args);


Who is online

Users browsing this forum: No registered users and 1 guest