LunarInfantry/Assets/Core Extensions & Helpers/_Helpers/FloatSO.cs
2026-01-02 01:31:54 -08:00

13 lines
392 B
C#
Executable file

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Core.Extensions
{
[CreateAssetMenu(fileName ="Float Value", menuName ="Core/Scriptable Helpers/Float SO")]
public class FloatSO : ScriptableObject
{
[SerializeField] float value = 0f;
public static implicit operator float(FloatSO s) { return s.value; }
}
}