Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RhythmKata
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
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
13정준영
RhythmKata
Commits
a484254b
Commit
a484254b
authored
5 years ago
by
15박보승
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hit시 배경효과 이펙트 구현
parent
15aad9fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
mergescene.unity
RhythmKata/Assets/Scenes/mergescene.unity
+6
-6
PlayEngine.cs
RhythmKata/Assets/Scripts/PlayEngine.cs
+2
-1
No files found.
RhythmKata/Assets/Scenes/mergescene.unity
View file @
a484254b
...
@@ -249,8 +249,8 @@ MeshRenderer:
...
@@ -249,8 +249,8 @@ MeshRenderer:
m_PrefabAsset
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
67959459
}
m_GameObject
:
{
fileID
:
67959459
}
m_Enabled
:
1
m_Enabled
:
1
m_CastShadows
:
1
m_CastShadows
:
0
m_ReceiveShadows
:
1
m_ReceiveShadows
:
0
m_DynamicOccludee
:
1
m_DynamicOccludee
:
1
m_MotionVectors
:
1
m_MotionVectors
:
1
m_LightProbeUsage
:
1
m_LightProbeUsage
:
1
...
@@ -1144,8 +1144,8 @@ MeshRenderer:
...
@@ -1144,8 +1144,8 @@ MeshRenderer:
m_PrefabAsset
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1021587280
}
m_GameObject
:
{
fileID
:
1021587280
}
m_Enabled
:
1
m_Enabled
:
1
m_CastShadows
:
1
m_CastShadows
:
0
m_ReceiveShadows
:
1
m_ReceiveShadows
:
0
m_DynamicOccludee
:
1
m_DynamicOccludee
:
1
m_MotionVectors
:
1
m_MotionVectors
:
1
m_LightProbeUsage
:
1
m_LightProbeUsage
:
1
...
@@ -1473,8 +1473,8 @@ MeshRenderer:
...
@@ -1473,8 +1473,8 @@ MeshRenderer:
m_PrefabAsset
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1816956810
}
m_GameObject
:
{
fileID
:
1816956810
}
m_Enabled
:
1
m_Enabled
:
1
m_CastShadows
:
1
m_CastShadows
:
0
m_ReceiveShadows
:
1
m_ReceiveShadows
:
0
m_DynamicOccludee
:
1
m_DynamicOccludee
:
1
m_MotionVectors
:
1
m_MotionVectors
:
1
m_LightProbeUsage
:
1
m_LightProbeUsage
:
1
...
...
This diff is collapsed.
Click to expand it.
RhythmKata/Assets/Scripts/PlayEngine.cs
View file @
a484254b
...
@@ -205,7 +205,8 @@ public class PlayEngine : SingletonBehaviour<PlayEngine>
...
@@ -205,7 +205,8 @@ public class PlayEngine : SingletonBehaviour<PlayEngine>
{
{
for
(
float
t
=
0
;
t
<
0.25f
;
t
+=
Time
.
deltaTime
)
for
(
float
t
=
0
;
t
<
0.25f
;
t
+=
Time
.
deltaTime
)
{
{
renderer
.
material
.
color
=
Color
.
Lerp
(
color
,
new
Color
(
color
.
r
,
color
.
g
,
color
.
b
,
0.05f
),
t
*
4
);
renderer
.
material
.
color
=
Color
.
Lerp
(
color
,
new
Color
(
color
.
r
,
color
.
g
,
color
.
b
,
0.025f
),
t
*
4
);
//renderer.material.SetVector("_EmissionColor", Mathf.Lerp(0, -10, t * 4) * color);
yield
return
null
;
yield
return
null
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
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