Skip to main content

Questions tagged [scriptable-object]

Filter by
Sorted by
Tagged with
0 votes
1 answer
82 views

I have 2 scriptable object inventories; one acts as the starting inventory and the other acts as the current one. I add objects to the current inventory but I set it's values to the starting inventory ...
bob maximus's user avatar
0 votes
0 answers
55 views

So i want to design an editor which has the following requirements. Suppose i already have a prefab called Player.prefab and script attached as Player.cs And have a scriptable object called ...
Aman's user avatar
  • 1
3 votes
0 answers
251 views

I want to set an icon for scriptable-object according to it's properties. I succeeded, but the end result was not what I wanted. I used RenderStaticPreview in it's ...
Ahmed Dyaa's user avatar
0 votes
0 answers
84 views

I need to create a ScriptableObject through script, So I used AssetDatabase.CreateAsset but it creates inside project folders only. So is there a way to create the ...
Ahmed Dyaa's user avatar
3 votes
0 answers
451 views

I'm going through the code of an open-source Unity project that uses Scriptable Objects as event channels. Currently, when I see a script raise an event (broadcast) through a SO channel, I have no way ...
misaochan's user avatar
  • 185
1 vote
0 answers
1k views

I've delved into scriptable objects in a small hobby project of mine and have to say I very much like them. I'm interested in how they can work with the built-in Unity Events to handle a lot of the ...
greb's user avatar
  • 11
0 votes
0 answers
120 views

I am creating a tower defense game. Currently I have 2 different tower types 'Shooting tower', amd 'Unit tower'. I have a Scriptable object to initialize the tower. It contains some tower properties ...
Taras Fityo's user avatar
0 votes
1 answer
324 views

I'm creating a scriptable object to store the color scheme for each level in my Brick Breaker game. There are a lot of options for how to input colors, but the way that TextMesh Pro does it for their ...
MXMLLN's user avatar
  • 117
0 votes
1 answer
1k views

I am working on an Unity3D project and I have a base scriptable object and several child classes that inherit from this parent class. ...
shanshi's user avatar
0 votes
1 answer
112 views

I am programming a Jobs Queue in Unity, so that I can send Tasks/Jobs to a central queue where the tasks will be processed. First, I defined 3 possible job types inside of a Scriptable Object. ...
kanamekun's user avatar
  • 379
0 votes
1 answer
1k views

I have a ScriptableObject that holds the data that I will put into a Dictionary: ...
kanamekun's user avatar
  • 379
2 votes
6 answers
352 views

How does one model two-way relationships for scriptable objects? Let's say we have a number of items in-game, and each item can be obtained by different conditions. Some may require you to complete a ...
qris's user avatar
  • 53
0 votes
0 answers
179 views

I'm making a word game to teach kids how to read and promote literacy. As part of that, I made a Scriptable Object that's basically a bunch of nested Lists, until it reaches the bottom node: ...
kanamekun's user avatar
  • 379
2 votes
2 answers
7k views

I created three Scriptable Objects for my Unity word game: FeemData - This is to hold information on letters NeemData - This is to hold information on pronunciation SuperNeemData - This is to hold #1 ...
kanamekun's user avatar
  • 379
1 vote
1 answer
775 views

I'm making a word game in Unity. I've made two Scriptable Objects. The first one is for FeemData. ...
kanamekun's user avatar
  • 379
2 votes
1 answer
2k views

In my game skills can be leveled up to modify base stats like reducing cooldown by 20% and increasing fired projectile count by one. How would I architect the system so that each skill has its own ...
user avatar
1 vote
1 answer
1k views

I made a Unity Prefab where about 5 things vary. I then made an invisible GameObject where I use Visual Scripting to hardwire the 5 differing items, in order to create the various GameObjects I need. ...
kanamekun's user avatar
  • 379
0 votes
1 answer
832 views

I made a Scriptable Object, and added a bunch of fields to it: string, Vector3, Sprite, etc. So far, so good! I'd like to also add a field with a simple color picker in it, that allows me to set the ...
kanamekun's user avatar
  • 379
1 vote
1 answer
140 views

I am a former Unity user, and after a big pause in game dev decided to try out Monogame (I'm a software engineer IRL so I'd figure this is the best way to go). In Unity I was using scriptable objects ...
TanguyB's user avatar
  • 161
0 votes
1 answer
66 views

I'm trying to make an RPG style game with equipment using ScriptableObject, but whenever I equip the item, it does not register in my JSON data. Here is the script ...
Dwiky Anderson's user avatar
0 votes
1 answer
683 views

I have a couple questions involving software architecture and best practices in Unity. Although I have some programming knowledge, I am just starting with Unity and C#, and I would like some input ...
Gergely Kovacs's user avatar
1 vote
0 answers
1k views

I've been at this for two long days, trying to figure out a way to handle saving and loading data for a mobile puzzle game I'm working on. The game has level packs and each level pack has multiple ...
Norbert's user avatar
  • 131
3 votes
1 answer
5k views

Given the code: ...
underthevoid's user avatar
0 votes
0 answers
579 views

The following code is a snippet of how I'm auto-updating an object whenever a setting changes in the inspector window (for a scriptable object). It's currently not working, but It will work if I put ...
Shrey Joshi's user avatar
0 votes
1 answer
480 views

I have a ScriptableObject that's already used extensively in my project: ...
Commodore Yournero's user avatar
0 votes
1 answer
3k views

I'm using ScriptableObjects as a way to serialize objects that I work with in an editor script. I save them as assets using ...
underthevoid's user avatar
0 votes
1 answer
2k views

I've decided to implement an ability system for my game and set the following requirements: Abilities must be MonoBehaviors, that-is, components of Player/NPC ...
MrPlow's user avatar
  • 337
0 votes
0 answers
887 views

I am working on a set of ScriptableObjects that represent base stats for characters in my game. Think Strength, Speed, Intellect, etc. A whole laundry list of em (about 20 stats). I'd like to later be ...
Weckar E.'s user avatar
  • 842
2 votes
1 answer
2k views

I'm making an effort to use ScriptableObjects more in my game architecture, after watching a fantastic Unity Unite talk on the subject. The central idea is to use ScriptableObjects, during runtime, as ...
crass_sandwich's user avatar
0 votes
1 answer
433 views

I'm trying add a weapon to Eithan - the third person character. So I want to take his hand, which is part of the prefab Eithan (the weapon location) and use it in the my Player.cs script to ...
roni's user avatar
  • 3
0 votes
1 answer
149 views

In my game I'm trying to make a series of mock web pages. To make it easier, I thought I'd make all the webpage UI into Scriptable Objects and have a game manager script determining what content to ...
JSparks's user avatar
  • 199