Instantiate Prefab
Options
in Photon Bolt
Please, tell me what I'm doing wrong!
public class playerCallbacks : Bolt.GlobalEventListener
{
[BoltGlobalBehaviour("mapaTeste")]
public override void SceneLoadLocalDone(string map)
{
BoltNetwork.Instantiate(BoltPrefabs.Homem2);
}
}
Nothing happens.
I can not play a simple debug.log when the scene starts. I feel like I'm missing something.
PS: Forgive me if the question sounds stupid, I'm now migrating from UNET to bolt.
public class playerCallbacks : Bolt.GlobalEventListener
{
[BoltGlobalBehaviour("mapaTeste")]
public override void SceneLoadLocalDone(string map)
{
BoltNetwork.Instantiate(BoltPrefabs.Homem2);
}
}
Nothing happens.
I can not play a simple debug.log when the scene starts. I feel like I'm missing something.
PS: Forgive me if the question sounds stupid, I'm now migrating from UNET to bolt.
0
Comments
-
Are you starting Bolt? I would go through the getting started docs.0
-
Thanks for the answer
That's exactly what I did. The problem was solved completely.0