Stellar Wolf Settings is a Unity package designed to simplify the creation and management of settings within Unity projects.
To install the Stellar Wolf Settings package in your unity project, follow these steps:
- Open your Unity project.
- In the Unity Editor, go to
Window
>Package Manager
. - Click on the
+
button in the top-left corner of the Package Manager window. - Select
Install package from git URL
. - Paste
https://github.com/StellarWolfEntertainment/StellarWolf-Settings.git
into the text field. - Click
Install
Stellar Wolf Settings provides a convenient way to create and manage settings for your Unity project. The following example showcases how the system is meant to work:
using StellarWolf;
using UnityEngine;
[Settings(SettingsUsage.Runtime, "AudioSettings")]
public class AudioSettings : Settings<AudioSettings>
{
[SerializeField] private bool m_EnableSound;
[SerializeField] private float m_MasterVolume;
public static bool enableSound => instance.m_EnableSound;
public static float masterVolume => instance.m_MasterVolume;
}
This package is heavily based on the package by Hextant that serves a similar purpose. We express our gratitude to the creators of the original package for their contributions to the Unity community.
This package is licensed under the Creative Commons Attribution 4.0 International License. See the LICENSE for details.
Created by Raistlin Wolfe. Contact: stellarwolfentertainment@gmail.com