About 904 results
Open links in new tab
  1. Saving Scriptable Objects [SOLVED] - Unity Discussions

    Sep 6, 2018 · Unity will save it when you select File > Save Project. If you are just using the default inspector to edit your object then Unity will automatically mark it dirty. If you have …

  2. c# - How to save a ScriptableObject at runtime after changing its ...

    Jul 20, 2019 · Scriptable objects should save any changes from run time to disk. In the code above you're never changing the value of Savedstats1, you're always using the static value set …

  3. Scripting API: ScriptableObject - Unity

    You can save ScriptableObjects to asset files either from the Editor UI (see CreateAssetMenuAttribute), or by calling AssetDatabase.CreateAsset from a script. You can …

  4. [Solved] Saving ScriptableObject into Json - Unity Discussions

    Mar 10, 2018 · My problem is with saving a ScriptableObject onto a JSON. More specifically, saving a class / ScriptableObject with another ScriptableObject inside. Here is code that …

  5. Scriptable Objects in Unity (how and when to use them)

    Sep 22, 2022 · While there are many different ways to manage data in Unity, one method is to use Scriptable Objects. Scriptable object classes allow you to store instances of scripts as …

  6. Unity - Manual: ScriptableObject

    A ScriptableObject is a data container that you can use to save large amounts of data, independent of class instances. One of the main use cases for ScriptableObjects is to reduce …

  7. Best way to save scriptable objects? : r/unity - Reddit

    Look into serialization with JSONUtility. Basically you want to save every runtime scriptable object to a file on creation or on closing the app, then create them back from saved file upon …

  8. Can / Should ScriptableObjects be used to store character data?

    Apr 13, 2022 · ScriptableObjects Are great for storing data at runtime, but if you want data to persist between sessions of your game, you're going to want to write the data to a file. …

  9. Saving a scriptable object to the "Assets" folder, and creating a ...

    Aug 29, 2020 · Saving a scriptable object to the folder is also easy: AssetDatabase.CreateAsset(yourScriptableObject, …

  10. c# - (Unity) Proper way to save ScriptableObjects changed during …

    Jul 31, 2017 · I was wondering what the "correct" way to save scriptable objects in Unity that are changed during Play mode. So far I have something that works: // changes PartyMember …

  11. Some results have been removed
Refresh