CoreGuiUtils
Utility functions to work with the CoreGui
Functions
promiseRetrySetCore
CoreGuiUtils.
promiseRetrySetCore
(
tries:
number
,
initialWaitTime:
number
,
...:
any
--
parameters to set core with
) →
Promise
<
(
)
>
Retries setting the the core. This is required because sometimes the Core scripts are not initialized by the time that client code executes.
tryToSetCore
CoreGuiUtils.
tryToSetCore
(
...:
any
--
Args to try to call SetCore with
) →
(
boolean
,
--
false if failed
string?
--
error, if there was one
)
Tries to invoke StarterGui:SetCore
with the arguments specified