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

엣지 노트 구현중

parent c8c5b8aa
......@@ -7,7 +7,7 @@ Material:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Note
m_Name: DefaultNote
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
......
......@@ -7,10 +7,10 @@ Material:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Note
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_Name: EdgeNote
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
......@@ -95,7 +95,7 @@ Material:
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColor: {r: 0.97199583, g: 1, b: 0, a: 1}
- _Flip: {r: 1, g: 1, b: 1, a: 1}
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
fileFormatVersion: 2
guid: fb899d0efba85f14f8aa97aa7d5646c7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
......@@ -2,17 +2,20 @@
using System.Collections.Generic;
using UnityEngine;
public class EdgeNoteObject : MonoBehaviour
public class EdgeNoteObject : NoteObject
{
// Start is called before the first frame update
void Start()
Vector2 direction;
public override void Init(float x, float y)
{
direction = new Vector2(x, y);
}
// Update is called once per frame
void Update()
public override void NoteHit(NoteHitType type)
{
}
public override void SetPosition(float remainedTime)
{
transform.position = (endPoint + new Vector3(0, 0, 200)) * remainedTime / maxRemainedTime;
}
}
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