2026-05-21 23:37:34 +09:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace VRBeats
|
|
|
|
|
{
|
|
|
|
|
public enum Direction
|
|
|
|
|
{
|
|
|
|
|
UpperLeft = 0,
|
|
|
|
|
Up,
|
|
|
|
|
UpperRight,
|
|
|
|
|
Left,
|
|
|
|
|
Center,
|
|
|
|
|
Right,
|
|
|
|
|
LowerLeft,
|
|
|
|
|
Down,
|
|
|
|
|
LowerRight
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum ColorSide
|
|
|
|
|
{
|
|
|
|
|
Left,
|
|
|
|
|
Right
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[System.Serializable]
|
|
|
|
|
public class SpawnEventInfo
|
|
|
|
|
{
|
|
|
|
|
public Direction hitDirection = Direction.Up;
|
|
|
|
|
public ColorSide colorSide = ColorSide.Right;
|
|
|
|
|
public bool useSpark = true;
|
|
|
|
|
public Vector3 position = Vector3.zero;
|
|
|
|
|
public Vector3 rotation = Vector3.zero;
|
|
|
|
|
public float speed = 2.0f;
|
|
|
|
|
public int speedMultiplier = 1;
|
2026-05-22 14:32:25 +09:00
|
|
|
// 0 이면 Settings.TargetTravelTime 사용, 양수면 해당 시간으로 이동
|
|
|
|
|
public float travelTimeOverride = 0f;
|
2026-05-21 23:37:34 +09:00
|
|
|
}
|
|
|
|
|
}
|