You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change level via settings menu and save them to ProjectSettings folder
Build: Create Resources/LogSettings.Asset file on build, load in build using Resource.Load Editor: Load/Save file from ProjectSettings
Problems:
Have to create Resources durning build and clean it up after if it didn't previously didnt exist
Option 3: Scriptable Object in Assets Folder
Change level via settings menu or ScriptableObject and save them to Somewhere in asset folder
Build: Use a component to reference the ScriptableObject and load them in awake (or load it using Resource.Load ?) Editor: Find ScriptableObject in Asset folder (check default path, if not search for it by type). Change object will automatically serialize/save.
Problems:
Need ScriptableObject somewhere in Asset folder
Need to find ScriptableObject in order to load it
The text was updated successfully, but these errors were encountered:
Saving and loading Log Settings
Option 1 (current): Component+Editor Prefs
Change Level via Component and save them in Editor Prefabs.
Build: Load log levels in awake of Component
Editor:
Problems:
Very difficult to use correctly in editor, see:
Option 2: File in project settings folder
Change level via settings menu and save them to
ProjectSettings
folderBuild: Create
Resources/LogSettings.Asset
file on build, load in build usingResource.Load
Editor: Load/Save file from
ProjectSettings
Problems:
Have to create Resources durning build and clean it up after if it didn't previously didnt exist
Option 3: Scriptable Object in Assets Folder
Change level via settings menu or ScriptableObject and save them to Somewhere in asset folder
Build: Use a component to reference the ScriptableObject and load them in awake (or load it using
Resource.Load
?)Editor: Find ScriptableObject in Asset folder (check default path, if not search for it by type). Change object will automatically serialize/save.
Problems:
The text was updated successfully, but these errors were encountered: