About 4,340,000 results
Open links in new tab
  1. c# - UnityEvent inside Scriptable Objects - Stack Overflow

    May 2, 2024 · I think i run into a pretty basic problem. Basically im trying to create a Scriptable Object class called GameEvent. This SO contains a UnityEvent. The idea is to associate a bunch of …

  2. How can I see and edit the fields of the scriptable object in the ...

    Mar 22, 2023 · After creating an asset object in the assets folder of a scriptable object class, we can see and edit the values of the fields of that scriptable object. Then we can reference that object in differ...

  3. Unity copy data from scriptable object without link

    Feb 4, 2025 · In my card game, I have a scriptable object that contains data about what cards the algorithm should place on its turn. public class Structures : ScriptableObject { public List<Card> …

  4. What does it mean if a Python object is "subscriptable" or not?

    Oct 19, 2008 · 21 if “scriptable” A scriptable object is an object that records the operations done to it and it can store them as a "script" which can be replayed. For example, see: Application Scripting …

  5. c# - Unity 6, Scriptable Object Event System Doesn't Work After ...

    Mar 27, 2025 · As the Title suggests the script works fine when I set it up in the first place. It's the exact same script from the tutorials found on YouTube discussing the Scriptable Object based Event …

  6. c# - How to Handle Scriptable Object Items that have to change Data …

    Nov 23, 2023 · I have an Item class that stores ItemSO scriptable object public class Item : MonoBehaviour { [SerializeField] private ItemSO inventoryItem; } My Item SO is an abstract class …

  7. unity game engine - Is it a bad practice to always instantiate Prefabs ...

    Sep 25, 2022 · But if you want to improve your workflow you can try creating ScriptableObjects to store the prefab references and then have only 1 reference to your scriptable object inside the mono …

  8. unity game engine - How to change the contents of a ScriptableObject ...

    Dec 22, 2022 · class Example : ScriptableObject{ public int ANormalProperty { get; set; } public int ASerializedField; } // Suppose you have a reference to the scriptable Example example; // properties …

  9. Why does my Scriptable Object lose all its data after the second ...

    May 27, 2023 · But the problem is after second assembly reload my scriptable object loses all of it's data. I thought that it might be garbage collected. But i used hideFlags=DontUnloadUnusedAsset …

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

    May 12, 2022 · Don't directly use the original scriptable object, use its runtime copy to prevent the original value from being modified. You can do it by using ScriptableObject.Instantiate (your_so)