protected override void OnBecomeClientOwner() { GoWorldLogger.Info(this.ToString(), "OnBecomeClientOwner ..."); // Account created, logging this.CallServer("Register", USERNAME, PASSWORD); }
public void ShowInfo(string info) { GoWorldLogger.Info("INFO", info); if (info.Contains("Registered Successfully")) { this.onRegisterSuccessfully(); } }
public void ShowError(string err) { GoWorldLogger.Error("ERROR", err); if (err.Contains("aready exists")) { this.onRegisterSuccessfully(); } }
protected override void OnUpdatePosition(Vector3 pos) { GoWorldLogger.Info("GameEntity", "{0} is moving to {1}", this, pos); this.targetMoveTime = Time.time + 0.1; }
protected override void OnDestroy() { GoWorldLogger.Info(this.ToString(), "OnDestroy ..."); }
protected override void OnCreated() { GoWorldLogger.Info(this.ToString(), "OnCreated ..."); }