Browse Source

Tiny error change

master
MB 5 years ago
parent
commit
88f3697b16
2 changed files with 14 additions and 15 deletions
  1. +13
    -13
      Assets/Scenes/MainScene.unity
  2. +1
    -2
      Assets/Scipts/Map.cs

+ 13
- 13
Assets/Scenes/MainScene.unity View File

@ -631,7 +631,7 @@ Camera:
field of view: 60 field of view: 60
orthographic: 1 orthographic: 1
orthographic size: 5 orthographic size: 5
m_Depth: -1
m_Depth: 0
m_CullingMask: m_CullingMask:
serializedVersion: 2 serializedVersion: 2
m_Bits: 4294967295 m_Bits: 4294967295
@ -671,7 +671,7 @@ GameObject:
- component: {fileID: 700181635} - component: {fileID: 700181635}
m_Layer: 0 m_Layer: 0
m_Name: BotCam m_Name: BotCam
m_TagString: MainCamera
m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
@ -692,7 +692,7 @@ Camera:
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_ClearFlags: 1 m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_BackGroundColor: {r: 0.9245283, g: 0.27710664, b: 0.030526895, a: 0}
m_projectionMatrixMode: 1 m_projectionMatrixMode: 1
m_SensorSize: {x: 36, y: 24} m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0} m_LensShift: {x: 0, y: 0}
@ -706,7 +706,7 @@ Camera:
near clip plane: 0.3 near clip plane: 0.3
far clip plane: 1000 far clip plane: 1000
field of view: 60 field of view: 60
orthographic: 0
orthographic: 1
orthographic size: 5 orthographic size: 5
m_Depth: -1 m_Depth: -1
m_CullingMask: m_CullingMask:
@ -943,7 +943,7 @@ GameObject:
- component: {fileID: 1195683499} - component: {fileID: 1195683499}
m_Layer: 0 m_Layer: 0
m_Name: RightCam m_Name: RightCam
m_TagString: MainCamera
m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
@ -964,7 +964,7 @@ Camera:
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_ClearFlags: 1 m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_BackGroundColor: {r: 0.9245283, g: 0.27710664, b: 0.030526895, a: 0}
m_projectionMatrixMode: 1 m_projectionMatrixMode: 1
m_SensorSize: {x: 36, y: 24} m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0} m_LensShift: {x: 0, y: 0}
@ -978,7 +978,7 @@ Camera:
near clip plane: 0.3 near clip plane: 0.3
far clip plane: 1000 far clip plane: 1000
field of view: 60 field of view: 60
orthographic: 0
orthographic: 1
orthographic size: 5 orthographic size: 5
m_Depth: -1 m_Depth: -1
m_CullingMask: m_CullingMask:
@ -1158,7 +1158,7 @@ GameObject:
- component: {fileID: 1779215477} - component: {fileID: 1779215477}
m_Layer: 0 m_Layer: 0
m_Name: LeftCam m_Name: LeftCam
m_TagString: MainCamera
m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
@ -1179,7 +1179,7 @@ Camera:
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_ClearFlags: 1 m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_BackGroundColor: {r: 0.9245283, g: 0.27710664, b: 0.030526895, a: 0}
m_projectionMatrixMode: 1 m_projectionMatrixMode: 1
m_SensorSize: {x: 36, y: 24} m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0} m_LensShift: {x: 0, y: 0}
@ -1193,7 +1193,7 @@ Camera:
near clip plane: 0.3 near clip plane: 0.3
far clip plane: 1000 far clip plane: 1000
field of view: 60 field of view: 60
orthographic: 0
orthographic: 1
orthographic size: 5 orthographic size: 5
m_Depth: -1 m_Depth: -1
m_CullingMask: m_CullingMask:
@ -1357,7 +1357,7 @@ GameObject:
- component: {fileID: 2005481973} - component: {fileID: 2005481973}
m_Layer: 0 m_Layer: 0
m_Name: TopCam m_Name: TopCam
m_TagString: MainCamera
m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
@ -1378,7 +1378,7 @@ Camera:
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_ClearFlags: 1 m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_BackGroundColor: {r: 0.9245283, g: 0.27710664, b: 0.030526895, a: 0}
m_projectionMatrixMode: 1 m_projectionMatrixMode: 1
m_SensorSize: {x: 36, y: 24} m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0} m_LensShift: {x: 0, y: 0}
@ -1392,7 +1392,7 @@ Camera:
near clip plane: 0.3 near clip plane: 0.3
far clip plane: 1000 far clip plane: 1000
field of view: 60 field of view: 60
orthographic: 0
orthographic: 1
orthographic size: 5 orthographic size: 5
m_Depth: -1 m_Depth: -1
m_CullingMask: m_CullingMask:

+ 1
- 2
Assets/Scipts/Map.cs View File

@ -34,7 +34,7 @@ public class Map : MonoBehaviour {
void Teleport() void Teleport()
{ {
Transform PT = localPlayer.Transform;
Transform PT = LocalPlayer.transform;
if (PT.position.x > maxX) if (PT.position.x > maxX)
{ {
PT.position = new Vector3(minX, PT.position.y, PT.position.z); PT.position = new Vector3(minX, PT.position.y, PT.position.z);
@ -73,6 +73,5 @@ public class Map : MonoBehaviour {
void HandleCamSizing() void HandleCamSizing()
{ {
} }
} }

Loading…
Cancel
Save