Scriptable Data: Easy saving and code decoupling
Enjlectric
$6.99
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
05/17(2023) |
6.99 |
11/08(2024) |
6.99 |
Jump AssetStore
Scriptable Data speeds up your development, helps you set up Save Data quickly and keeps your code clean in larger projects.If you have struggled with any of these before, Scriptable Data is for you!Forgetting to reset a variable from testing, leading to wrong data like attack damage noticed days laterUI turning into a mess of references to world objects, just so that player health updates correctlyNoticing too late that you have no scalable Save Game solution and don't know where to beginWanting to get into data-oriented design with Unity, but finding the prospect dauntingScriptableData addresses these common issues by giving you a set of ScriptableObjects that reset when the game starts. Their resetting property allows them to be used without fear of mid-game changes carrying over back into editing. As such, they are perfect for loose coupling of otherwise unrelated scripts that share an interest in a specific set of variables.ScriptableObject setups for bool, byte, float, double, short, int, long, char, string, as well as for lists of all those data typesScriptableData objects reset to their default value when entering play mode.ScriptableData objects have two default values: One for testing, and one for production. Iterate quickly by setting test values that suit your needs, without having to remember to change things back later!Toggle between the two defaults quickly through the Tools menu.Comes integrated with a simple to use, ScriptableData-based Save Game solution.Save Manager component contains a list of ScriptableData for saving.Using the SaveInterface Component on an object in your scene, you can access options to Save and Restore a save data.Multiple save slots supported.