Beispiel #1
0
 // Token: 0x06008BEF RID: 35823 RVA: 0x0028D8D4 File Offset: 0x0028BAD4
 public void Locate(Vector2 p, int dir)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_LocateVector2Int32_hotfix != null)
     {
         this.m_LocateVector2Int32_hotfix.call(new object[]
         {
             this,
             p,
             dir
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_position  = p;
     this.m_direction = dir;
     if (this.m_graphic != null)
     {
         this.m_graphic.SetPosition(ClientWorld.ComputeActorPosition(this.m_position, -0.08f));
         this.m_graphic.SetDirection(this.m_direction);
     }
     if (this.m_uiController != null)
     {
         this.m_uiController.transform.localPosition = ClientWorld.ComputeActorPosition(this.m_position, -0.099999994f);
     }
 }