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
acb8fb1d
Commit
acb8fb1d
authored
Jan 14, 2019
by
18손재민
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
문과 관련된 기능 완성
parent
92356b8c
Changes
18
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
639 additions
and
4500 deletions
+639
-4500
DoorInGameDownClose.anim
Assets/Animation/Door/Down/DoorInGameDownClose.anim
+65
-2
DoorInGameDownOpen.anim
Assets/Animation/Door/Down/DoorInGameDownOpen.anim
+65
-2
DoorInGameLeftClose.anim
Assets/Animation/Door/Left/DoorInGameLeftClose.anim
+65
-2
DoorInGameLeftOpen.anim
Assets/Animation/Door/Left/DoorInGameLeftOpen.anim
+65
-2
DoorInGameRightClose.anim
Assets/Animation/Door/Right/DoorInGameRightClose.anim
+65
-2
DoorInGameRightOpen.anim
Assets/Animation/Door/Right/DoorInGameRightOpen.anim
+65
-2
DoorInGameUpClose.anim
Assets/Animation/Door/Up/DoorInGameUpClose.anim
+65
-2
DoorInGameUpOpen.anim
Assets/Animation/Door/Up/DoorInGameUpOpen.anim
+65
-2
CloseDoor.cs
Assets/CloseDoor.cs
+1
-1
OpenDoor.cs
Assets/OpenDoor.cs
+1
-1
Room BothSide.prefab
Assets/Prefabs/Rooms/SpecialRoom/Room BothSide.prefab
+0
-1578
Room Gold.prefab
Assets/Prefabs/Rooms/SpecialRoom/Room Gold.prefab
+0
-1461
Room Item.prefab
Assets/Prefabs/Rooms/SpecialRoom/Room Item.prefab
+0
-1182
DoorInGameRight.prefab
Assets/Prefabs/TetrisMap/InGameDoor/DoorInGameRight.prefab
+1
-1
DoorInGameUp.prefab
Assets/Prefabs/TetrisMap/InGameDoor/DoorInGameUp.prefab
+1
-1
MapManager.cs
Assets/Scripts/TetrisMap/MapManager.cs
+30
-92
Room.cs
Assets/Scripts/TetrisMap/Room.cs
+82
-165
Test.cs
Assets/Scripts/TetrisMap/Test.cs
+3
-2
No files found.
Assets/Animation/Door/Down/DoorInGameDownClose.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/Animation/Door/Down/DoorInGameDownOpen.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/Animation/Door/Left/DoorInGameLeftClose.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/Animation/Door/Left/DoorInGameLeftOpen.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/Animation/Door/Right/DoorInGameRightClose.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/Animation/Door/Right/DoorInGameRightOpen.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/Animation/Door/Up/DoorInGameUpClose.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/Animation/Door/Up/DoorInGameUpOpen.anim
View file @
acb8fb1d
...
...
@@ -15,7 +15,35 @@ AnimationClip:
m_EulerCurves
:
[]
m_PositionCurves
:
[]
m_ScaleCurves
:
[]
m_FloatCurves
:
[]
m_FloatCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_PPtrCurves
:
-
curve
:
-
time
:
0
...
...
@@ -41,6 +69,13 @@ AnimationClip:
m_Extent
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_ClipBindingConstant
:
genericBindings
:
-
serializedVersion
:
2
path
:
0
attribute
:
3305885265
script
:
{
fileID
:
0
}
typeID
:
60
customType
:
0
isPPtrCurve
:
0
-
serializedVersion
:
2
path
:
0
attribute
:
0
...
...
@@ -75,7 +110,35 @@ AnimationClip:
m_KeepOriginalPositionXZ
:
0
m_HeightFromFeet
:
0
m_Mirror
:
0
m_EditorCurves
:
[]
m_EditorCurves
:
-
curve
:
serializedVersion
:
2
m_Curve
:
-
serializedVersion
:
3
time
:
0
value
:
1
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
-
serializedVersion
:
3
time
:
0.3
value
:
0
inSlope
:
Infinity
outSlope
:
Infinity
tangentMode
:
103
weightedMode
:
0
inWeight
:
0
outWeight
:
0
m_PreInfinity
:
2
m_PostInfinity
:
2
m_RotationOrder
:
4
attribute
:
m_Enabled
path
:
classID
:
60
script
:
{
fileID
:
0
}
m_EulerEditorCurves
:
[]
m_HasGenericRootTransform
:
0
m_HasMotionFloatCurves
:
0
...
...
Assets/CloseDoor.cs
View file @
acb8fb1d
...
...
@@ -17,7 +17,7 @@ public class CloseDoor : StateMachineBehaviour {
// OnStateExit is called when a transition ends and the state machine finishes evaluating this state
override
public
void
OnStateExit
(
Animator
animator
,
AnimatorStateInfo
stateInfo
,
int
layerIndex
)
{
Debug
.
Log
(
"Closed"
);
}
// OnStateMove is called right after Animator.OnAnimatorMove(). Code that processes and affects root motion should be implemented here
...
...
Assets/OpenDoor.cs
View file @
acb8fb1d
...
...
@@ -17,7 +17,7 @@ public class OpenDoor : StateMachineBehaviour {
//OnStateExit is called when a transition ends and the state machine finishes evaluating this state
override
public
void
OnStateExit
(
Animator
animator
,
AnimatorStateInfo
stateInfo
,
int
layerIndex
)
{
Debug
.
Log
(
"Opened"
);
}
// OnStateMove is called right after Animator.OnAnimatorMove(). Code that processes and affects root motion should be implemented here
...
...
Assets/Prefabs/Rooms/SpecialRoom/Room BothSide.prefab
View file @
acb8fb1d
This diff is collapsed.
Click to expand it.
Assets/Prefabs/Rooms/SpecialRoom/Room Gold.prefab
View file @
acb8fb1d
This diff is collapsed.
Click to expand it.
Assets/Prefabs/Rooms/SpecialRoom/Room Item.prefab
View file @
acb8fb1d
This diff is collapsed.
Click to expand it.
Assets/Prefabs/TetrisMap/InGameDoor/DoorInGameRight.prefab
View file @
acb8fb1d
...
...
@@ -20,8 +20,8 @@ GameObject:
m_Component
:
-
component
:
{
fileID
:
4726613234881410
}
-
component
:
{
fileID
:
212016597369960122
}
-
component
:
{
fileID
:
60158907655368212
}
-
component
:
{
fileID
:
95627112181051082
}
-
component
:
{
fileID
:
60158907655368212
}
m_Layer
:
8
m_Name
:
DoorInGameRight
m_TagString
:
Untagged
...
...
Assets/Prefabs/TetrisMap/InGameDoor/DoorInGameUp.prefab
View file @
acb8fb1d
...
...
@@ -20,8 +20,8 @@ GameObject:
m_Component
:
-
component
:
{
fileID
:
4076796618514002
}
-
component
:
{
fileID
:
212681542233478548
}
-
component
:
{
fileID
:
60354718583369946
}
-
component
:
{
fileID
:
95785122911416600
}
-
component
:
{
fileID
:
60354718583369946
}
m_Layer
:
8
m_Name
:
DoorInGameUp
m_TagString
:
Untagged
...
...
Assets/Scripts/TetrisMap/MapManager.cs
View file @
acb8fb1d
This diff is collapsed.
Click to expand it.
Assets/Scripts/TetrisMap/Room.cs
View file @
acb8fb1d
This diff is collapsed.
Click to expand it.
Assets/Scripts/TetrisMap/Test.cs
View file @
acb8fb1d
...
...
@@ -46,7 +46,7 @@ public class Test : MonoBehaviour {
MapManager
.
currentRoom
.
ClearRoom
();
}
/*
public GameObject upDoor;
public
GameObject
upDoor
;
public
GameObject
downDoor
;
public
GameObject
leftDoor
;
public
GameObject
rightDoor
;
...
...
@@ -100,11 +100,12 @@ public class Test : MonoBehaviour {
Animator
animator
=
rightDoor
.
GetComponent
<
Animator
>();
animator
.
SetBool
(
"doorOpen"
,
false
);
animator
.
SetBool
(
"doorClose"
,
true
);
}
*/
}
private
void
Awake
()
{
//leftDoor.GetComponent<Animator>().SetInteger("doorPosition", 3);
mapManager
=
GameObject
.
Find
(
"MapManager"
).
GetComponent
<
MapManager
>();
tetriminoSpawner
=
GameObject
.
Find
(
"TetriminoSpawner"
).
GetComponent
<
TetriminoSpawner
>();
...
...
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