Camera Smoothened

dev-ali
Ali Sharoz 3 days ago
parent 93b5425466
commit 574f5bdadb

@ -9297,19 +9297,19 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.w
value: 0.8529446
value: 0.796428
objectReference: {fileID: 0}
- target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.x
value: 0.39434478
value: 0.49872306
objectReference: {fileID: 0}
- target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.y
value: 0.31044644
value: 0.28987613
objectReference: {fileID: 0}
- target: {fileID: 1676734515771252668, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.z
value: -0.14352977
value: -0.18152039
objectReference: {fileID: 0}
- target: {fileID: 1676734516302391364, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_UpdateMethod
@ -9327,25 +9327,33 @@ PrefabInstance:
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1676734516695783279, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1676734516695783279, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1676734516695783279, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.w
value: 0.8509757
value: 0.79006946
objectReference: {fileID: 0}
- target: {fileID: 1676734516695783279, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.x
value: 0.3985757
value: 0.50873625
objectReference: {fileID: 0}
- target: {fileID: 1676734516695783279, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.y
value: 0.30972984
value: 0.2875618
objectReference: {fileID: 0}
- target: {fileID: 1676734516695783279, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.z
value: -0.1450697
value: -0.18516485
objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalPosition.z
@ -9353,28 +9361,60 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.w
value: 0.8551973
value: 0.80276686
objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.x
value: 0.38943532
value: 0.48845422
objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.y
value: 0.31126636
value: 0.2921833
objectReference: {fileID: 0}
- target: {fileID: 1676734516724634599, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalRotation.z
value: -0.14174286
value: -0.17778286
objectReference: {fileID: 0}
- target: {fileID: 1676734516866984540, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_VerticalDamping
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1676734516866984540, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_HorizontalDamping
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1676734517288307196, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_YAxis.Value
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1676734517288307197, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalPosition.x
value: -7.1918144
objectReference: {fileID: 0}
- target: {fileID: 1676734517288307197, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalPosition.y
value: 35
objectReference: {fileID: 0}
- target: {fileID: 1676734517288307197, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_LocalPosition.z
value: -11.010667
objectReference: {fileID: 0}
- target: {fileID: 1676734517587239785, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_VerticalDamping
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1676734517587239785, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_HorizontalDamping
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1676734517611811560, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_VerticalDamping
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1676734517611811560, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_HorizontalDamping
value: 3
objectReference: {fileID: 0}
- target: {fileID: 2167489802469618434, guid: 0193228de87741d40a42e561901c9083, type: 3}
propertyPath: m_Name
value: CMCameraPrefab
@ -9554,7 +9594,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 203267159508449512, guid: 36b3ee75677a1544191c0ddaaadd8140, type: 3}
propertyPath: m_LocalPosition.y
value: 16.25
value: 31.25
objectReference: {fileID: 0}
- target: {fileID: 203267159508449512, guid: 36b3ee75677a1544191c0ddaaadd8140, type: 3}
propertyPath: m_LocalPosition.z
@ -9562,19 +9602,19 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 203267159508449512, guid: 36b3ee75677a1544191c0ddaaadd8140, type: 3}
propertyPath: m_LocalRotation.w
value: 0.85294455
value: 0.79006934
objectReference: {fileID: 0}
- target: {fileID: 203267159508449512, guid: 36b3ee75677a1544191c0ddaaadd8140, type: 3}
propertyPath: m_LocalRotation.x
value: 0.3943448
value: 0.5087363
objectReference: {fileID: 0}
- target: {fileID: 203267159508449512, guid: 36b3ee75677a1544191c0ddaaadd8140, type: 3}
propertyPath: m_LocalRotation.y
value: 0.31044644
value: 0.28756183
objectReference: {fileID: 0}
- target: {fileID: 203267159508449512, guid: 36b3ee75677a1544191c0ddaaadd8140, type: 3}
propertyPath: m_LocalRotation.z
value: -0.14352976
value: -0.18516491
objectReference: {fileID: 0}
- target: {fileID: 203267159508449512, guid: 36b3ee75677a1544191c0ddaaadd8140, type: 3}
propertyPath: m_LocalEulerAnglesHint.x

@ -70,9 +70,7 @@ namespace Unity.Multiplayer.Samples.BossRoom
public void Occupy(ServerCharacter player)
{
Debug.Log("Platform Occupied by: " + player.uIStateDisplayHandler.m_UIState.playerName);
if (!IsServer || IsOccupied) return;
Pause();
bool giveScore = player.PreviousPlatformId != PlatformID.Value;
int score = (player.TargetPlatformId == PlatformID.Value) ? 10 : 20;

Loading…
Cancel
Save