public void CheckWsToken() { if (this.wsToken > -1 && !WorkScheduler.CheckTokenForPosition(this.position, this.wsToken)) { this.WSRegistration(false); this.ShouldDoMainThreadRefresh = true; } }
public void CheckWsToken2() { this.position = base.transform.position; if (this.wsToken > -1 && !WorkScheduler.CheckTokenForPosition(this.position, this.wsToken)) { this.WSRegistration(); this.ShouldDoMainThreadRefresh = false; } }