Files
BeatSaber/Assets/VRBeatsKit/Scripts/Spawneable/SpawnEventInfo.cs
T

37 lines
690 B
C#
Raw 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;
}
}