gewoon_kieferG
Normal11mo ago
22 replies
gewoon_kiefer

how to sync scriptable objects

i have a scriptable object where i put stuff in in a random order (for a puzzle) and whenever a person joins the room they create a different order so i need to have a scriptable object sync or to make the script that puts the info in the scriptable object a "server" script instead of "client" script


if it helps the code that i use
public class SimonColorOrderSO : ScriptableObject
{
    public List<SimonColorSo> simonOrder;
}

public class SimonColorSo : ScriptableObject
{
    public EColorName ColorName;
    public Material color;
}

public enum EColorName
{
    Red,
    Yellow,
    Green,
    Blue
}
Was this page helpful?