Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Mihálik
NPGR038
Commits
4c36efec
Commit
4c36efec
authored
Sep 18, 2021
by
Martin Mihálik
🔥
Browse files
Repeating tweaks
parent
38d75978
Changes
6
Hide whitespace changes
Inline
Side-by-side
Don't Be Afraid To Fall/Assets/Prefabs/Wall.prefab
View file @
4c36efec
...
@@ -12,8 +12,8 @@ GameObject:
...
@@ -12,8 +12,8 @@ GameObject:
-
component
:
{
fileID
:
2654140422281934944
}
-
component
:
{
fileID
:
2654140422281934944
}
-
component
:
{
fileID
:
2654140422281934947
}
-
component
:
{
fileID
:
2654140422281934947
}
-
component
:
{
fileID
:
4295960864059702635
}
-
component
:
{
fileID
:
4295960864059702635
}
-
component
:
{
fileID
:
2654140422281934945
}
-
component
:
{
fileID
:
2654140422281934950
}
-
component
:
{
fileID
:
2654140422281934950
}
-
component
:
{
fileID
:
2654140422281934945
}
m_Layer
:
11
m_Layer
:
11
m_Name
:
Wall
m_Name
:
Wall
m_TagString
:
Untagged
m_TagString
:
Untagged
...
@@ -133,6 +133,21 @@ Rigidbody2D:
...
@@ -133,6 +133,21 @@ Rigidbody2D:
m_SleepingMode
:
1
m_SleepingMode
:
1
m_CollisionDetection
:
0
m_CollisionDetection
:
0
m_Constraints
:
0
m_Constraints
:
0
---
!u!114
&2654140422281934950
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
2654140422281934948
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
136730f820674ea4aaca1bc72ef473a2
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
m_NoDamageSprite
:
{
fileID
:
1579969085674745262
,
guid
:
fe414402022daf54092419715338b22d
,
type
:
3
}
m_SomeDamageSprite
:
{
fileID
:
3472043959254758212
,
guid
:
fe414402022daf54092419715338b22d
,
type
:
3
}
m_FullDamageSprite
:
{
fileID
:
8598481603908473379
,
guid
:
fe414402022daf54092419715338b22d
,
type
:
3
}
---
!u!114
&2654140422281934945
---
!u!114
&2654140422281934945
MonoBehaviour
:
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -176,18 +191,3 @@ MonoBehaviour:
...
@@ -176,18 +191,3 @@ MonoBehaviour:
m_StringArgument
:
m_StringArgument
:
m_BoolArgument
:
0
m_BoolArgument
:
0
m_CallState
:
2
m_CallState
:
2
---
!u!114
&2654140422281934950
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
2654140422281934948
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
136730f820674ea4aaca1bc72ef473a2
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
m_NoDamageSprite
:
{
fileID
:
1579969085674745262
,
guid
:
fe414402022daf54092419715338b22d
,
type
:
3
}
m_SomeDamageSprite
:
{
fileID
:
3472043959254758212
,
guid
:
fe414402022daf54092419715338b22d
,
type
:
3
}
m_FullDamageSprite
:
{
fileID
:
8598481603908473379
,
guid
:
fe414402022daf54092419715338b22d
,
type
:
3
}
Don't Be Afraid To Fall/Assets/Scenes/Level.unity
View file @
4c36efec
...
@@ -134,7 +134,7 @@ GameObject:
...
@@ -134,7 +134,7 @@ GameObject:
-
component
:
{
fileID
:
106956313
}
-
component
:
{
fileID
:
106956313
}
m_Layer
:
0
m_Layer
:
0
m_Name
:
Source
m_Name
:
Source
m_TagString
:
Untagged
m_TagString
:
Repeatable
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
...
@@ -426,7 +426,7 @@ Camera:
...
@@ -426,7 +426,7 @@ Camera:
far clip plane
:
1000
far clip plane
:
1000
field of view
:
60
field of view
:
60
orthographic
:
1
orthographic
:
1
orthographic size
:
5
orthographic size
:
7
m_Depth
:
-1
m_Depth
:
-1
m_CullingMask
:
m_CullingMask
:
serializedVersion
:
2
serializedVersion
:
2
...
@@ -467,7 +467,7 @@ GameObject:
...
@@ -467,7 +467,7 @@ GameObject:
-
component
:
{
fileID
:
574392414
}
-
component
:
{
fileID
:
574392414
}
m_Layer
:
0
m_Layer
:
0
m_Name
:
Rubbles
m_Name
:
Rubbles
m_TagString
:
Repeatable
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
...
@@ -497,7 +497,7 @@ GameObject:
...
@@ -497,7 +497,7 @@ GameObject:
-
component
:
{
fileID
:
792207690
}
-
component
:
{
fileID
:
792207690
}
m_Layer
:
0
m_Layer
:
0
m_Name
:
Target
m_Name
:
Target
m_TagString
:
Untagged
m_TagString
:
Repeatable
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
...
@@ -527,7 +527,7 @@ GameObject:
...
@@ -527,7 +527,7 @@ GameObject:
-
component
:
{
fileID
:
1344835039
}
-
component
:
{
fileID
:
1344835039
}
m_Layer
:
0
m_Layer
:
0
m_Name
:
Explosions
m_Name
:
Explosions
m_TagString
:
Repeatable
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
...
@@ -750,7 +750,6 @@ GameObject:
...
@@ -750,7 +750,6 @@ GameObject:
-
component
:
{
fileID
:
1695424173
}
-
component
:
{
fileID
:
1695424173
}
-
component
:
{
fileID
:
1695424176
}
-
component
:
{
fileID
:
1695424176
}
-
component
:
{
fileID
:
1695424175
}
-
component
:
{
fileID
:
1695424175
}
-
component
:
{
fileID
:
1695424177
}
-
component
:
{
fileID
:
1695424174
}
-
component
:
{
fileID
:
1695424174
}
m_Layer
:
11
m_Layer
:
11
m_Name
:
Walls
m_Name
:
Walls
...
@@ -831,37 +830,6 @@ Rigidbody2D:
...
@@ -831,37 +830,6 @@ Rigidbody2D:
m_SleepingMode
:
1
m_SleepingMode
:
1
m_CollisionDetection
:
0
m_CollisionDetection
:
0
m_Constraints
:
0
m_Constraints
:
0
---
!u!114
&1695424177
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1695424172
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
01e9ce25e2a99d149a174ad4098919ae
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
m_StartingHealth
:
1
m_OnDamageTaken
:
m_PersistentCalls
:
m_Calls
:
-
m_Target
:
{
fileID
:
512397506
}
m_TargetAssemblyTypeName
:
PlayerControls, Assembly-CSharp
m_MethodName
:
OnDeath
m_Mode
:
1
m_Arguments
:
m_ObjectArgument
:
{
fileID
:
0
}
m_ObjectArgumentAssemblyTypeName
:
UnityEngine.Object, UnityEngine
m_IntArgument
:
0
m_FloatArgument
:
0
m_StringArgument
:
m_BoolArgument
:
0
m_CallState
:
2
m_OnDeath
:
m_PersistentCalls
:
m_Calls
:
[]
---
!u!1
&1877781301
---
!u!1
&1877781301
GameObject
:
GameObject
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -1736,7 +1704,7 @@ Transform:
...
@@ -1736,7 +1704,7 @@ Transform:
m_PrefabAsset
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1952676060
}
m_GameObject
:
{
fileID
:
1952676060
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
0
,
y
:
-
5
,
z
:
0
}
m_LocalPosition
:
{
x
:
0
,
y
:
-
10
,
z
:
0
}
m_LocalScale
:
{
x
:
60
,
y
:
1
,
z
:
1
}
m_LocalScale
:
{
x
:
60
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_Father
:
{
fileID
:
0
}
...
@@ -1832,7 +1800,7 @@ GameObject:
...
@@ -1832,7 +1800,7 @@ GameObject:
-
component
:
{
fileID
:
2028534473
}
-
component
:
{
fileID
:
2028534473
}
m_Layer
:
0
m_Layer
:
0
m_Name
:
Meteors
m_Name
:
Meteors
m_TagString
:
Repeatable
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
...
...
Don't Be Afraid To Fall/Assets/LevelUp.meta
→
Don't Be Afraid To Fall/Assets/
Scripts/
LevelUp.meta
View file @
4c36efec
File moved
Don't Be Afraid To Fall/Assets/LevelUp/LevelUpController.cs
→
Don't Be Afraid To Fall/Assets/
Scripts/
LevelUp/LevelUpController.cs
View file @
4c36efec
...
@@ -15,9 +15,11 @@ public class LevelUpController : MonoBehaviour
...
@@ -15,9 +15,11 @@ public class LevelUpController : MonoBehaviour
private
void
MoveObjectsDown
()
private
void
MoveObjectsDown
()
{
{
var
shift
=
Vector3
.
down
*
20
;
foreach
(
var
repeatable
in
GameObject
.
FindGameObjectsWithTag
(
"Repeatable"
))
foreach
(
var
repeatable
in
GameObject
.
FindGameObjectsWithTag
(
"Repeatable"
))
{
{
repeatable
.
transform
.
position
+=
Vector3
.
down
*
30
;
repeatable
.
transform
.
position
+=
shift
;
}
}
}
}
}
}
Don't Be Afraid To Fall/Assets/LevelUp/LevelUpController.cs.meta
→
Don't Be Afraid To Fall/Assets/
Scripts/
LevelUp/LevelUpController.cs.meta
View file @
4c36efec
File moved
Don't Be Afraid To Fall/ProjectSettings/TagManager.asset
View file @
4c36efec
...
@@ -6,8 +6,8 @@ TagManager:
...
@@ -6,8 +6,8 @@ TagManager:
tags
:
tags
:
-
Repeatable
-
Repeatable
-
Meteor
-
Meteor
-
Explosion
-
Rubble
-
Rubble
-
Explosion
layers
:
layers
:
-
Default
-
Default
-
TransparentFX
-
TransparentFX
...
...
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