23 lines
1011 B
Plaintext
23 lines
1011 B
Plaintext
diff a/Assets/_Alice/Scripts/Task/TaskManager.cs b/Assets/_Alice/Scripts/Task/TaskManager.cs (rejected hunks)
|
||
@@ -81,9 +81,18 @@
|
||
|
||
public void CreateBox(Vector3 pos,Vector3 eulerAngles,int curId,TaskBoxType boxType)
|
||
{
|
||
- GameObject box=Instantiate(boxPre,pos,Quaternion.identity);
|
||
+ // <20><><EFBFBD>ݵص<DDB5><D8B5>ж<EFBFBD><D0B6>Ƿ<EFBFBD><C7B7><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>
|
||
+ Vector3 adjustedPos = pos;
|
||
+
|
||
+ if (GameLocal.Ins.place == Place.Jiangsu_Xvzhou_Guolou_Oulebao||GameLocal.Ins.place == Place.Jiangsu_Xvzhou_Guolou_Oulebao_2)
|
||
+ {
|
||
+ // <20><><EFBFBD>ڸõص㽫<D8B5>߶<EFBFBD><DFB6><EFBFBD><EFBFBD><EFBFBD>Ϊ0.3
|
||
+ adjustedPos = new Vector3(pos.x, 0.5f, pos.z);
|
||
+ }
|
||
+
|
||
+ GameObject box = Instantiate(boxPre, adjustedPos, Quaternion.identity);
|
||
box.transform.eulerAngles = eulerAngles;
|
||
- box.GetComponent<TaskBox>().Init(curId,boxType);
|
||
+ box.GetComponent<TaskBox>().Init(curId, boxType);
|
||
}
|
||
|
||
public GameObject CreateGem(int id,Vector3 pos,int gemId)
|