Exemple #1
0
    void Rpcrandomgenerateitem(Vector3 theram)
    {
        GameObject theitem1 = Instantiate(item1, theram, Quaternion.identity);

        NetworkServer.Spawn(theitem1);
        respawnitem = hasitem.has;
    }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     //lobbywaitplayerUI.SetActive(true);
     respawnitem = hasitem.has;
 }
 // Use this for initialization
 void Start()
 {
     respawnitem = hasitem.has;
 }