Files

39 lines
827 B
C#
Raw Permalink Normal View History

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;
// 0 이면 Settings.TargetTravelTime 사용, 양수면 해당 시간으로 이동
public float travelTimeOverride = 0f;
}
}