About 50 results
Open links in new tab
  1. c# - UnityEvent inside Scriptable Objects - Stack Overflow

    May 2, 2024 · GameOver event (GameEventSO) Now, oviously im missing something about how scriptable objects work becouse i'm not able to drag gameObjects, or scripts to the unity event list. …

  2. Complex data structures with ScriptableObjects in Unity3D

    Dec 25, 2022 · However, in Unity, using dictionaries disables scriptableobject's function to add elements inside editor. So how can I create a scriptableobject that I can add elements inside the editor with the …

  3. Showing ScriptableObjects in dropdown menu and select between …

    Jun 16, 2019 · How should I create PropertyAttribute and PropertyDrawer to show ScriptableObjects in dropdown menu in Inspector for selecting between them ?

  4. How do I find all Scriptable Objects in a folder and then load a ...

    Dec 21, 2020 · 2 I have a folder in my unity project under "Resources/ScriptableObjects/Skins". I need to get all the objects in the folder, generate a random number for the index, then assign the sprite to an …

  5. unity game engine - Can / Should ScriptableObjects be used to store ...

    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. …

  6. Using ScriptableObject instead of Enums in Unity, overcomplicated for ...

    Dec 30, 2023 · So far I feel like I'm using an enumeration class instead of an enum ( Using Enumeration classes instead of enum types - .NET | Microsoft Learn ), I've just wrapped a bunch of strings in …

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

    May 12, 2022 · unity-game-engine properties scriptable-object asked May 12, 2022 at 14:11 Isaac Thompson 135 1 2 7

  8. Use of ScriptableObject Unity - Stack Overflow

    May 24, 2021 · Yesterday I've found out about Scriptable Objects in Unity.The first thing that came to my mind is : hey , this is really simillar to inheritance.Let's say I have this: [CreateAssetMenu(menuName …

  9. Why cant I drag and drop a Sprite in a Scriptable Objects inspector?

    Mar 17, 2022 · Image is a class inherited from UnityEngine.UI namespace. And to be shown requires a Canvas component. You can create a prefab with an Image that contains your sprite in order to add …

  10. unity game engine - Creating a scriptable object in runtime - It ...

    Oct 27, 2019 · You cannot save scriptable objects during runtime. Use an editor script instead. Otherwise, if you are loading a "spreadsheet" in runtime as part of the application/game, use …