Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RockCycleSimulation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kenzy ahmed fouad
RockCycleSimulation
Commits
9475ee28
Commit
9475ee28
authored
Nov 30, 2025
by
KenzyAshour2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a small cut scene is added
parent
fdfc71dc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
123 additions
and
32 deletions
+123
-32
RockSimulation.unity
Assets/Scenes/RockSimulation.unity
+77
-28
ContextCursor.cs
Assets/Script/ContextCursor.cs
+1
-1
CutScene.cs
Assets/Script/CutScene.cs
+34
-0
CutScene.cs.meta
Assets/Script/CutScene.cs.meta
+11
-0
DeepSeaSpawner.cs
Assets/Script/DeepSeaSpawner.cs
+0
-2
DestroyMountain.cs
Assets/Script/DestroyMountain.cs
+0
-1
No files found.
Assets/Scenes/RockSimulation.unity
View file @
9475ee28
...
...
@@ -542,7 +542,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&344863556
SpriteRenderer
:
...
...
@@ -679,7 +679,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&422702646
SpriteRenderer
:
...
...
@@ -763,7 +763,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&494643842
SpriteRenderer
:
...
...
@@ -1050,7 +1050,7 @@ GameObject:
-
component
:
{
fileID
:
636814223
}
-
component
:
{
fileID
:
636814222
}
m_Layer
:
0
m_Name
:
Volcano mn b3eed
m_Name
:
1
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
...
...
@@ -1391,6 +1391,69 @@ BoxCollider2D:
serializedVersion
:
2
m_Size
:
{
x
:
1
,
y
:
1
}
m_EdgeRadius
:
0
---
!u!1
&850172314
GameObject
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
serializedVersion
:
6
m_Component
:
-
component
:
{
fileID
:
850172315
}
-
component
:
{
fileID
:
850172316
}
m_Layer
:
0
m_Name
:
7
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
0
---
!u!4
&850172315
Transform
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
850172314
}
serializedVersion
:
2
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_ConstrainProportionsScale
:
0
m_Children
:
-
{
fileID
:
1009734771
}
-
{
fileID
:
1499363385
}
-
{
fileID
:
422702645
}
-
{
fileID
:
1595460474
}
-
{
fileID
:
344863555
}
-
{
fileID
:
494643841
}
-
{
fileID
:
1663351152
}
-
{
fileID
:
1101090702
}
m_Father
:
{
fileID
:
1394706199
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!114
&850172316
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
850172314
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
0715b023fb9304449be3953e3f55baff
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
frames
:
-
{
fileID
:
1009734770
}
-
{
fileID
:
1499363384
}
-
{
fileID
:
422702644
}
-
{
fileID
:
1595460473
}
-
{
fileID
:
344863554
}
-
{
fileID
:
494643840
}
-
{
fileID
:
1663351151
}
-
{
fileID
:
1101090701
}
timePerFrame
:
1
nextButton
:
{
fileID
:
0
}
---
!u!1
&866322761
GameObject
:
m_ObjectHideFlags
:
0
...
...
@@ -1703,7 +1766,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&1009734772
SpriteRenderer
:
...
...
@@ -2008,7 +2071,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
1
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&1101090703
SpriteRenderer
:
...
...
@@ -2078,7 +2141,7 @@ GameObject:
-
component
:
{
fileID
:
1131566032
}
-
component
:
{
fileID
:
1131566031
}
m_Layer
:
0
m_Name
:
Volcano 1
m_Name
:
2
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
...
...
@@ -2584,7 +2647,7 @@ GameObject:
-
component
:
{
fileID
:
1279918179
}
-
component
:
{
fileID
:
1279918178
}
m_Layer
:
0
m_Name
:
Cracked Close up
m_Name
:
4
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
...
...
@@ -2841,14 +2904,7 @@ Transform:
-
{
fileID
:
1279918179
}
-
{
fileID
:
255634391
}
-
{
fileID
:
1586722788
}
-
{
fileID
:
1009734771
}
-
{
fileID
:
1499363385
}
-
{
fileID
:
422702645
}
-
{
fileID
:
1595460474
}
-
{
fileID
:
344863555
}
-
{
fileID
:
494643841
}
-
{
fileID
:
1663351152
}
-
{
fileID
:
1101090702
}
-
{
fileID
:
850172315
}
-
{
fileID
:
515365339
}
-
{
fileID
:
1208495772
}
-
{
fileID
:
1020260190
}
...
...
@@ -2885,7 +2941,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&1499363386
SpriteRenderer
:
...
...
@@ -3228,7 +3284,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&1595460475
SpriteRenderer
:
...
...
@@ -3440,7 +3496,7 @@ Transform:
m_LocalScale
:
{
x
:
2.6896627
,
y
:
2.5387726
,
z
:
2.6896627
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1394706199
}
m_Father
:
{
fileID
:
850172315
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!212
&1663351153
SpriteRenderer
:
...
...
@@ -3852,7 +3908,7 @@ GameObject:
-
component
:
{
fileID
:
1821597986
}
-
component
:
{
fileID
:
1821597985
}
m_Layer
:
0
m_Name
:
Rain
3
m_Name
:
3
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
...
...
@@ -3967,14 +4023,7 @@ MonoBehaviour:
-
{
fileID
:
1279918177
}
-
{
fileID
:
255634389
}
-
{
fileID
:
1586722786
}
-
{
fileID
:
1009734770
}
-
{
fileID
:
1499363384
}
-
{
fileID
:
422702644
}
-
{
fileID
:
1595460473
}
-
{
fileID
:
344863554
}
-
{
fileID
:
494643840
}
-
{
fileID
:
1663351151
}
-
{
fileID
:
1101090701
}
-
{
fileID
:
850172314
}
-
{
fileID
:
515365337
}
-
{
fileID
:
1208495771
}
-
{
fileID
:
1020260188
}
...
...
Assets/Script/ContextCursor.cs
View file @
9475ee28
...
...
@@ -4,7 +4,7 @@ public class ContextCursor : MonoBehaviour
{
[
SerializeField
]
Texture2D
cursorTexture
;
public
Vector2
hotSpot
=
Vector2
.
zero
;
[
SerializeField
]
Vector2
hotSpot
=
Vector2
.
zero
;
void
OnEnable
()
{
if
(
cursorTexture
!=
null
)
...
...
Assets/Script/CutScene.cs
0 → 100644
View file @
9475ee28
using
UnityEngine
;
using
UnityEngine.UI
;
using
System.Collections
;
public
class
CutScene
:
MonoBehaviour
{
[
SerializeField
]
GameObject
[]
frames
;
private
float
timePerFrame
=
1.0f
;
[
SerializeField
]
Button
nextButton
;
private
void
OnEnable
()
{
StartCoroutine
(
PlaySequence
());
}
IEnumerator
PlaySequence
()
{
if
(
nextButton
!=
null
)
nextButton
.
interactable
=
false
;
foreach
(
GameObject
f
in
frames
)
f
.
SetActive
(
false
);
for
(
int
i
=
0
;
i
<
frames
.
Length
;
i
++)
{
if
(
frames
[
i
]
!=
null
)
frames
[
i
].
SetActive
(
true
);
// Turn off the previous frame
if
(
i
>
0
)
{
frames
[
i
-
1
].
SetActive
(
false
);
}
yield
return
new
WaitForSeconds
(
timePerFrame
);
}
if
(
nextButton
!=
null
)
nextButton
.
interactable
=
true
;
}
}
Assets/Script/CutScene.cs.meta
0 → 100644
View file @
9475ee28
fileFormatVersion: 2
guid: 0715b023fb9304449be3953e3f55baff
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Script/DeepSeaSpawner.cs
View file @
9475ee28
...
...
@@ -14,12 +14,10 @@ public class DeepSeaSpawner : MonoBehaviour
private
List
<
GameObject
>
spawnedObjects
=
new
List
<
GameObject
>();
private
Camera
cam
;
void
Start
()
{
cam
=
Camera
.
main
;
}
void
OnEnable
()
{
if
(
cam
==
null
)
cam
=
Camera
.
main
;
...
...
Assets/Script/DestroyMountain.cs
View file @
9475ee28
...
...
@@ -10,7 +10,6 @@ public class DestroyMountain : MonoBehaviour
private
float
minForce
=
1f
;
private
float
maxForce
=
3f
;
void
OnMouseDown
()
{
SpawnDebris
();
...
...
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