Class PickupSpawner
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class PickupSpawner : MonoBehaviourPunCallbacks, IConnectionCallbacks, IMatchmakingCallbacks, IInRoomCallbacks, ILobbyCallbacks, IWebRpcCallback, IErrorInfoCallback
- Inheritance
-
MonoBehaviourPunMonoBehaviourPunCallbacksPickupSpawner
- Implements
-
IConnectionCallbacksIMatchmakingCallbacksIInRoomCallbacksILobbyCallbacksIWebRpcCallbackIErrorInfoCallback
- Inherited Members
-
MonoBehaviourPunCallbacks.OnEnable()MonoBehaviourPunCallbacks.OnDisable()MonoBehaviourPunCallbacks.OnConnected()MonoBehaviourPunCallbacks.OnLeftRoom()MonoBehaviourPunCallbacks.OnMasterClientSwitched(Player)MonoBehaviourPunCallbacks.OnCreatedRoom()MonoBehaviourPunCallbacks.OnJoinedLobby()MonoBehaviourPunCallbacks.OnLeftLobby()MonoBehaviourPunCallbacks.OnDisconnected(DisconnectCause)MonoBehaviourPunCallbacks.OnRegionListReceived(RegionHandler)MonoBehaviourPunCallbacks.OnPlayerEnteredRoom(Player)MonoBehaviourPunCallbacks.OnPlayerLeftRoom(Player)MonoBehaviourPunCallbacks.OnConnectedToMaster()MonoBehaviourPunCallbacks.OnRoomPropertiesUpdate(Hashtable)MonoBehaviourPunCallbacks.OnPlayerPropertiesUpdate(Player, Hashtable)MonoBehaviourPunCallbacks.OnWebRpcResponse(OperationResponse)MonoBehaviourPunCallbacks.OnErrorInfo(ErrorInfo)MonoBehaviourPun.photonView
- Extension Methods
Constructors
PickupSpawner()
public PickupSpawner()
Fields
m_ItemToSpawn
[SerializeField]
public Item m_ItemToSpawn
Field Value
m_Spawned
public bool m_Spawned
Field Value
m_Transform
public Transform m_Transform
Field Value
Properties
ItemToSpawn
public Item ItemToSpawn { get; }
Property Value
Methods
Awake()
public void Awake()
DestroyMe()
public void DestroyMe()
OnJoinedRoom()
public override void OnJoinedRoom()
SpawnMe(bool)
public void SpawnMe(bool force = false)
Parameters
force
bool