Commit a484254b authored by 15박보승's avatar 15박보승

Hit시 배경효과 이펙트 구현

parent 15aad9fe
......@@ -249,8 +249,8 @@ MeshRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 67959459}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
......@@ -1144,8 +1144,8 @@ MeshRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1021587280}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
......@@ -1473,8 +1473,8 @@ MeshRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1816956810}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
......
......@@ -205,7 +205,8 @@ public class PlayEngine : SingletonBehaviour<PlayEngine>
{
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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment