Moving camera
This commit is contained in:
parent
c6a510c8d6
commit
bfd8d4fcbc
@ -163,7 +163,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 77683431}
|
||||
m_LocalRotation: {x: 0.19051337, y: -0.33824676, z: 0.07012796, w: 0.9188993}
|
||||
m_LocalPosition: {x: -441.9, y: -700.5, z: 24.4}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
@ -5396,13 +5396,13 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1553744186}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 499.93808, y: 755.19403, z: -21.3553}
|
||||
m_LocalPosition: {x: 34, y: 31, z: -85}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 77683432}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 4
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1802677907
|
||||
GameObject:
|
||||
|
@ -65,6 +65,9 @@ public class UiController : MonoBehaviour
|
||||
oldDistance = distance;
|
||||
}
|
||||
}
|
||||
public void FixedUpdate(){
|
||||
this.menuCamera.transform.position = this.menuCamera.transform.position + Vector3.forward * 0.05f;
|
||||
}
|
||||
|
||||
//MENU
|
||||
public void exitGame()
|
||||
|
Loading…
Reference in New Issue
Block a user