Beispiel #1
0
 public void UpatePotition()
 {
     if (this._kChar != null)
     {
         NrCharBase nrCharBase = this._kChar;
         if (nrCharBase == null)
         {
             return;
         }
         Vector3 pos = nrCharBase.GetNameDummy().position;
         pos    = this.WorldToEZ(pos);
         pos.x -= base.GetSize().x / 2f;
         pos.y -= base.GetSize().y / 2f;
         base.SetLocation(pos.x, pos.y);
     }
 }