Commit d3976df6 authored by 赤子奈落's avatar 赤子奈落

update hand card position

parent 83d92956
......@@ -4251,6 +4251,14 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 737802523}
m_Modifications:
- target: {fileID: 100916, guid: dd57848b7cec7c441b1e5e16bfaf237f, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 191502, guid: dd57848b7cec7c441b1e5e16bfaf237f, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 194658, guid: dd57848b7cec7c441b1e5e16bfaf237f, type: 3}
propertyPath: m_Name
value: new_cardDescriptionRemaster
......
......@@ -66,9 +66,9 @@ public class Ocgcore : ServantWithCardDescription
private arrow Arrow;
private autoForceChainHandlerType autoForceChainHandler = autoForceChainHandlerType.manDoAll;
private float camera_max = -15f;//-5.5f;
private float camera_max = -15f;
private float camera_min = -28f;//-17.5f;
private float camera_min = -28.5f;
public bool cantCheckGrave;
public List<gameCard> cards = new List<gameCard>();
......@@ -5440,7 +5440,7 @@ public class Ocgcore : ServantWithCardDescription
Vector3 position;
if (cards[i].p.controller == 0)
{
position = new Vector3( 0, 12, -28);//mark 洗牌
position = new Vector3( 0f, 20f, -28.5f);//mark 洗牌
cards[i].animation_rush_to(position, new Vector3(-20, 0, 180));
}
else
......@@ -6320,14 +6320,14 @@ public class Ocgcore : ServantWithCardDescription
for (var index = 0; index < lines[line_index].Count; index++)
{
var want_position = Vector3.zero;
want_position.y = 12f;//mark 我方手卡默认高度
want_position.y = 20f;//mark 我方手卡默认高度
if ((lines[line_index][index].p.location & (int)CardLocation.Hand) > 0)
want_position.z = -line_index * 8 + -28f;//target -28
want_position.z = -line_index * 8 + -28.5f;
else if (upMode.lineShift)
want_position.z = line_index * 8 + -28f;
want_position.z = line_index * 8 + -28.5f;
else
want_position.z = -line_index * 8 + -28f;
want_position.z = -line_index * 8 + -28.5f;
if (line_index == 0 && (lines[line_index][index].p.location & (int)CardLocation.Hand) > 0)
want_position.x = UIHelper.get_left_right_indexEnhanced(-16, 16, index, lines[line_index].Count, 6); //(-10, 10, index, lines[line_index].Count, 5);
else
......@@ -6954,7 +6954,7 @@ public class Ocgcore : ServantWithCardDescription
if (nearest_z > cards[i].UA_get_accurate_position().z)
nearest_z = cards[i].UA_get_accurate_position().z;
camera_max = -37f;//-3.5f - 15f * Program.fieldSize;
camera_min = nearest_z - 9f;//target -37
camera_min = nearest_z - 8.5f;//target -37
if (camera_min > camera_max) camera_min = camera_max;
if (InAI == false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment