Refactor position reset logic

This commit is contained in:
2019-10-04 23:53:38 +02:00
parent 7ac7e4fa89
commit 6e81cecb0a
2 changed files with 30 additions and 13 deletions

View File

@@ -455,7 +455,7 @@ GameObject:
- component: {fileID: 295107913}
m_Layer: 0
m_Name: AI Additional
m_TagString: Untagged
m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -658,7 +658,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 295107912}
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: -31.8, y: 1, z: -5.7}
m_LocalPosition: {x: -34.96, y: 1, z: 4.01}
m_LocalScale: {x: 2, y: 2, z: 2}
m_Children:
- {fileID: 2145556007}
@@ -714,7 +714,7 @@ GameObject:
- component: {fileID: 367746335}
m_Layer: 0
m_Name: Player Blue
m_TagString: Untagged
m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -1760,7 +1760,7 @@ GameObject:
- component: {fileID: 708460350}
m_Layer: 0
m_Name: Player Red
m_TagString: Untagged
m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -1988,7 +1988,7 @@ GameObject:
- component: {fileID: 929235632}
m_Layer: 0
m_Name: Player Additional
m_TagString: Untagged
m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -2055,7 +2055,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 929235626}
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 31, y: 1, z: 8.9}
m_LocalPosition: {x: 35.02, y: 1, z: 3.8}
m_LocalScale: {x: 2, y: 2, z: 2}
m_Children:
- {fileID: 966074800}
@@ -2576,6 +2576,9 @@ MonoBehaviour:
player1Initial: {fileID: 0}
player2Initial: {fileID: 0}
ballInitial: {fileID: 0}
players: []
initialPositions: []
initialRotations: []
scoreLabel: {fileID: 697913066}
winLabel: {fileID: 1880081387}
--- !u!4 &1228665502