Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

CLEAR_ALL

Leonardo Emanuele edited this page Oct 24, 2021 · 2 revisions

Before going deep into all the menu, let's have a look at CLEAR_ALL.

Parameters TYPE
No Params //
Returns VOID

this function clears everything, this means your menu will be completely deleted while the scaleform is still drawing (remember this as you won't see anything)

this is useful to use CLEAR_ALL when switching to a sub-menu or to a parent-menu.

EXAMPLE:

  • C#
NativeUIScaleform.CallFunction("CLEAR_ALL");
  • Lua
BeginScaleformMovieMethod(scaleformUI, "CLEAR_ALL")
EndScaleformMovieMethod()
Clone this wiki locally