- Fixed anticheat status error spam - Fixed IMGUI not actually running on OnGUI because that runner was changed in Svelto - Added player join and leave events - Made Game.Enter only trigger when both the game has finished loading *and* the local player has joined
16 lines
No EOL
439 B
C#
16 lines
No EOL
439 B
C#
using System.Collections;
|
|
using Svelto.Tasks;
|
|
using Svelto.Tasks.ExtraLean;
|
|
using Svelto.Tasks.Unity.Internal;
|
|
|
|
namespace TechbloxModdingAPI.Tasks
|
|
{
|
|
public class OnGuiRunner : BaseRunner<ExtraLeanSveltoTask<IEnumerator>>
|
|
{
|
|
public OnGuiRunner(string name, uint runningOrder = 0)
|
|
: base(name)
|
|
{
|
|
UnityCoroutineRunner.StartOnGuiCoroutine(this._processEnumerator, runningOrder);
|
|
}
|
|
}
|
|
} |