How can I disable auto-spawning player prefab on rejoining to a room?
Options
On rejoining to a room, Photon automatically creates player's prefab. How can I disable this? I need to create a prefab by myself.
0
Answers
-
Hi,
You can use PrefabPooling interface and then you end up in total control over how to create instances.
you can find implementation samples here: https://github.com/jeanfabre/Exitgames--PUN--Pooling_u4/blob/master/Assets/PUN Custom Samples/SmartPool/Scripts/PunSmartPoolBridge.cs
Bye,
Jean
0