[ConfigSectionButton]
Support Types
Type
Description
Parameters
Parameter
Type
Description
Examples
using RenownedGames.Apex;
using UnityEngine;
[ConfigWindow("Game Settings")]
public class GameSettings : ScriptableObject
{
[ConfigSection("Gameplay")]
public float difficulty;
[ConfigSectionButton("Gameplay")]
public void ResetGameplay()
{
difficulty = 1.0f;
Debug.Log("Gameplay settings reset.");
}
}Last updated