Advertisement
kadyr

Untitled

Sep 11th, 2021
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using Photon.Pun;
  4. using UnityEngine;
  5.  
  6. public class FallGuysGameManager : MonoBehaviourPunCallbacks
  7. {
  8. [SerializeField]
  9. private GameObject PlayerPrefab;
  10. void Start()
  11. {
  12. PhotonNetwork.Instantiate(PlayerPrefab.name, transform.position, Quaternion.identity);
  13. }
  14.  
  15. // Update is called once per frame
  16. void Update()
  17. {
  18.  
  19. }
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement