コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.E))
     {
         serv.GetResults(gameObject, "UseResults");
     }
     if (Input.GetKeyDown(KeyCode.Space))
     {
         serv.StartRound(gameObject, "UsePlayerCount");
     }
 }
コード例 #2
0
 void EndRound()
 {
     roundRunning = false;
     serv.GetResults(gameObject, "GetRoundEndInfo");
     globalSfx.PlayOneShot(reelSelect);
 }