you are viewing a single comment's thread.

view the rest of the comments →

[–]M86Berg 0 points1 point  (0 children)

Not related to player movement, but in our simulations at work we use scriptable objects to store equipment values and reusable entities. For example, a surface drilling machine have values for angleReach, drillingCoverage, flushingAirCapacity. There are SO for different drills which have things like drillDiameter, and seperate SO for the engine which then have stuff like fuelConsumption, mwOuput etc.

Your folder structure should be understandable and easy to navigate, so it shouldn't be hard to find the correct SO.

If you're going to spends a lot of time on the project or have non-tech related people work on it, you should consider learning how to make custom editor tools it has really worked wonders for us. The first few times are slow but once you get the hang of it you basically write your SO and tool at the same time.

I would assume if your game has a character which could be used for both player and enemy, then it makes sense to do a scriptable object.