Esempio n. 1
0
        protected override void OnBecomeClientOwner()
        {
            GoWorldLogger.Info(this.ToString(), "OnBecomeClientOwner ...");

            // Account created, logging
            this.CallServer("Register", USERNAME, PASSWORD);
        }
Esempio n. 2
0
 public void ShowInfo(string info)
 {
     GoWorldLogger.Info("INFO", info);
     if (info.Contains("Registered Successfully"))
     {
         this.onRegisterSuccessfully();
     }
 }
Esempio n. 3
0
        public void ShowError(string err)
        {
            GoWorldLogger.Error("ERROR", err);

            if (err.Contains("aready exists"))
            {
                this.onRegisterSuccessfully();
            }
        }
Esempio n. 4
0
 protected override void OnUpdatePosition(Vector3 pos)
 {
     GoWorldLogger.Info("GameEntity", "{0} is moving to {1}", this, pos);
     this.targetMoveTime = Time.time + 0.1;
 }
Esempio n. 5
0
 protected override void OnDestroy()
 {
     GoWorldLogger.Info(this.ToString(), "OnDestroy ...");
 }
Esempio n. 6
0
 protected override void OnCreated()
 {
     GoWorldLogger.Info(this.ToString(), "OnCreated ...");
 }