소스 검색

修复,aoi单位是毫米

tanghai 4 년 전
부모
커밋
a5ebc735ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Server/Hotfix/Demo/G2M_CreateUnitHandler.cs

+ 1 - 1
Server/Hotfix/Demo/G2M_CreateUnitHandler.cs

@@ -23,7 +23,7 @@ namespace ET
 			unit.AddComponent<UnitGateComponent, long>(request.GateSessionId);
 			unitComponent.Add(unit);
 			// 加入aoi
-			unit.AddComponent<AOIEntity, int, Vector3>(15, unit.Position);
+			unit.AddComponent<AOIEntity, int, Vector3>(9 * 1000, unit.Position);
 
 			M2C_CreateUnits m2CCreateUnits = new M2C_CreateUnits();
 			m2CCreateUnits.Units.Add(UnitHelper.CreateUnitInfo(unit));