28 lines
636 B
C#
28 lines
636 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace AibisDream.FixSystem
|
|
{
|
|
[CreateAssetMenu(fileName = "WhackMoldData", menuName = "Level Data/WhackMoldData")]
|
|
public class WhackMoleData : ScriptableObject
|
|
{
|
|
public WhackMoleNode[] nodes;
|
|
}
|
|
|
|
[Serializable]
|
|
public struct WhackMoleNode
|
|
{
|
|
public WhackMoleCommand command;
|
|
public string moduleName;
|
|
public float flickerTime;
|
|
public float lightOnTime;
|
|
}
|
|
|
|
public enum WhackMoleCommand
|
|
{
|
|
SingleModuleLightOn,
|
|
MultipleModuleLightOn,
|
|
SingleModuleColorOn,
|
|
MultipleModuleColorOn
|
|
}
|
|
} |