Пример #1
0
 public RaycastHitNavMesh2(Vector3 pos, NavmeshRaycastResultType2 resultType, Cell lastCell)
 {
     this.x          = pos.x;
     this.y          = pos.y;
     this.z          = pos.z;
     this.resultType = resultType;
     this.lastCell   = lastCell;
 }
Пример #2
0
        public readonly Cell                      lastCell;//last cell this ray was in

        public RaycastHitNavMesh2(float x, float y, float z, NavmeshRaycastResultType2 resultType, Cell lastCell)
        {
            this.x          = x;
            this.y          = y;
            this.z          = z;
            this.resultType = resultType;
            this.lastCell   = lastCell;
        }