About 535,000 results
Open links in new tab
  1. unity game engine - Is this how you'd use a scriptableobject?

    May 24, 2022 · Is this how you'd use a scriptableobject? Asked 3 years, 7 months ago Modified 3 years, 6 months ago Viewed 1k times

  2. Create Scriptable Object with constant, Unique ID

    Nov 21, 2019 · Here is my take on it : Create a custom attribute "ScriptableObjectIdAttribute", you can use it in front of whatever you need to be an id. Make a custom property drawer in order to …

  3. Creating a Scriptable Object in the Unity Editor - Stack Overflow

    May 28, 2018 · The problem is: i don't have the ScriptableObject button. I have a script that is a scriptable object (to make sure i even copied the one from the project of the university). I …

  4. unity Scriptable object not working in bulid - Stack Overflow

    May 23, 2020 · 6 While changes in ScriptableObject within the UnityEditor are persistent, they are not persistent in a build! When you use the Editor, you can save data to ScriptableObjects …

  5. Unity ScriptableObjects - Read-only fields - Stack Overflow

    May 12, 2022 · Say I have a ScriptableObject Item: public class Item : ScriptableObject { public new string name; public string description; public Sprite sprite; } The only issue is that the fields ...

  6. c# - Instantiating ScriptableObjects - Stack Overflow

    Aug 14, 2019 · Quote from professional, any thoughts?: SO are simply a class made for data that have handy implications within Unity's serialization. If you are creating a run-time instance of …

  7. Keeping a specific classes in ScriptableObject - Stack Overflow

    Feb 3, 2021 · I can refuse the idea with inherited object classes, but in this case, you lost the specificity of the created game item. In that case, how do I organize the base item classes so …

  8. C#/Unity - Unable to save scriptable object to disk

    Jul 29, 2021 · An alternative to EditorUtility.SetDirty is to call Undo.RecordObject(scriptableObject) prior to modifying the ScriptableObject; this method also …

  9. Showing ScriptableObjects in dropdown menu and select between …

    Jun 16, 2019 · ScriptableObject Dropdown: ScriptableObjectDropdown is an attribute for the Unity Inspector. It is used for showing ScriptableObjects which are created in your project, in …

  10. c# - UnityEvent inside Scriptable Objects - Stack Overflow

    May 2, 2024 · public class GameEventSO : ScriptableObject { [SerializeField] UnityEvent unityEvent; GameOver event (GameEventSO) Now, oviously im missing something about how …