This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
project-undercover/Project Undercover/Assets/Scripts/TestManager.cs

17 lines
349 B
C#
Raw Normal View History

2017-09-27 23:40:27 -05:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestManager : Photon.PunBehaviour {
public GameObject NPCPrefab;
void Start () {
if (PhotonNetwork.isMasterClient)
PhotonNetwork.Instantiate(NPCPrefab.name, Vector3.zero, Quaternion.identity, 0);
}
void Update () {
}
}