123456789101112131415161718192021222324 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Sirenix.OdinInspector;
- namespace KairoEngine.SteamIntegration
- {
- [System.Serializable]
- public class SteamworksStatData
- {
- [HorizontalGroup("line", 0.7f), HideLabel] public string name;
- [HorizontalGroup("line", 0.3f), HideLabel] public SteamStatType statType = SteamStatType.Integer;
- // [HorizontalGroup("line", 0.2f), HideLabel, ShowIf("@statType == SteamStatType.Integer"), ReadOnly] public int integerValue = 0;
- // [HorizontalGroup("line", 0.2f), HideLabel, ShowIf("@statType == SteamStatType.Float"), ReadOnly] public float floatValue = 0f;
-
- }
- public enum SteamStatType
- {
- Integer,
- Float
- }
- }
|