// Get global core ticker public static FTicker GetCoreTicker() { if (coreTicker == null) { coreTicker = new FTicker(); } return(coreTicker); }
/// <summary> /// Constructor /// </summary> /// <param name="InDelay">Delay until next fire; 0 means "next frame"</param> /// <param name="inTicker">Ticker the ticker to register with. Defaults to FTicker::GetCoreTicker()</param> public FTickerObjectBase(float InDelay = 0.0f, FTicker inTicker = null) { ticker = inTicker ?? FTicker.GetCoreTicker(); tickHandle = ticker.AddTicker(Tick, InDelay); }