public void OnUpdate() { loadtimer += FrameController.DT(); if (cur_zone != null && cur_zone.GetHasFinishedStreaming() && loadtimer > LOADDELAY) { loadtimer = 0; cur_spoke++; Logger.Log("NEW SPOKE ACTIVE: " + cur_spoke.ToString()); if (cur_spoke < stream_zones.Count) ActivateZone(cur_spoke); else { cur_zone = null; Logger.Log("All spokes finished!"); } } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CStreamZone obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public void SetStreamMode(CStreamZone.StreamMode _mode) { SharpMochaPINVOKE.CStreamZone_SetStreamMode(swigCPtr, (int)_mode); }
void ActivateZone(int index) { cur_zone = stream_zones[index]; stream_zones[index].setEnabled(true); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CStreamZone obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }