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

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