gewoon_kiefer
gewoon_kiefer
NNormal
Created by gewoon_kiefer on 3/6/2025 in #🤝ask-a-question
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
c#
public class SimonColorOrderSO : ScriptableObject
{
public List<SimonColorSo> simonOrder;
}
c#
public class SimonColorOrderSO : ScriptableObject
{
public List<SimonColorSo> simonOrder;
}
c#
public class SimonColorSo : ScriptableObject
{
public EColorName ColorName;
public Material color;
}

public enum EColorName
{
Red,
Yellow,
Green,
Blue
}
c#
public class SimonColorSo : ScriptableObject
{
public EColorName ColorName;
public Material color;
}

public enum EColorName
{
Red,
Yellow,
Green,
Blue
}
23 replies