Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
tetra-tower
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Oenos
tetra-tower
Commits
29bd902f
Commit
29bd902f
authored
Nov 01, 2018
by
16도재형
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
카메라 플레이어 위치보게 땜빵 해놓음
parent
8f3ce47a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
ItemRoom.meta
Assets/Prefabs/Rooms/ItemRoom.meta
+0
-8
PlayScene.unity
Assets/Scenes/PlayScene.unity
+1
-1
CameraController.cs
Assets/Scripts/CameraController.cs
+5
-1
No files found.
Assets/Prefabs/Rooms/ItemRoom.meta
deleted
100644 → 0
View file @
8f3ce47a
fileFormatVersion: 2
guid: 0aa1c86779a88b84fb24b8cbe899753a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scenes/PlayScene.unity
View file @
29bd902f
...
@@ -468,7 +468,7 @@ Transform:
...
@@ -468,7 +468,7 @@ Transform:
m_PrefabInternal
:
{
fileID
:
0
}
m_PrefabInternal
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
519420028
}
m_GameObject
:
{
fileID
:
519420028
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
6.08
,
y
:
3.21
,
z
:
-1
0
}
m_LocalPosition
:
{
x
:
6.08
,
y
:
3.21
,
z
:
-1
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_Father
:
{
fileID
:
0
}
...
...
Assets/Scripts/CameraController.cs
View file @
29bd902f
...
@@ -6,7 +6,7 @@ public class CameraController : MonoBehaviour {
...
@@ -6,7 +6,7 @@ public class CameraController : MonoBehaviour {
/*
/*
* If camera is in Tetris view, ideal position is (108, 240, -
2
)
* If camera is in Tetris view, ideal position is (108, 240, -
1
)
* size 300
* size 300
* */
* */
...
@@ -55,6 +55,10 @@ public class CameraController : MonoBehaviour {
...
@@ -55,6 +55,10 @@ public class CameraController : MonoBehaviour {
void
GotoDestination
()
void
GotoDestination
()
{
{
// TODO: Change this.
Vector3
pos
=
GameObject
.
Find
(
"Player"
).
transform
.
position
;
pos
.
z
=
-
1
;
transform
.
position
=
pos
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment