gewoon_kiefer
gewoon_kiefer
NNormal
Created by gewoon_kiefer on 3/25/2025 in #🤝ask-a-question
how to sync what parent the object has?
i have a a object that i spawn in with realtime.instantiate() and it needs to have a specific parent to have a correct scale and function correctly, for the player who spawns the object it is correctly done but for everyone else it is just in the hierarchy and not with the correct parent
7 replies
NNormal
Created by gewoon_kiefer on 3/17/2025 in #🤝ask-a-question
destroy object with only realtime view
how do i destroy an object that has a realtime view but not a realtime transform?
13 replies
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