Jump to content

Exported ui badly generates code.

CuiHelper.DestroyUI(player, "RustUI");

Instead

CuiHelper.DestroyUi(player, "RustUI");

Small typo in the code CuiHelper.DestroyUi

Edited by ArtiIOMI
The problem has not been resolved in the public version.

Share this comment


Link to comment

Ok, I found where I can fix it myself. I also added a new button option to RustUIPropertis, "CloseUIButton"

Share this comment


Link to comment

If you have problem with it go to directory UI>Assets>Editor and open UGUIMenu.cs
Find line(239) with text 

fullexport.Append($"CuiHelper.DestroyUI(player, \"{UI.name}\");");

and change it to

fullexport.Append($"CuiHelper.DestroyUi(player, \"{UI.name}\");");

Save file. Done.
 

@Billy Joe Please close. Thanks.

  • Love 1

Share this comment


Link to comment
437.9k

Downloads

Total number of downloads.

2.3k

Customers

Total customers served.

32.3k

Files Sold

Total number of files sold.

526.1k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.