예제 #1
0
        void SceneLoaded()
        {
            switch (SceneManager.GetActiveScene().name)
            {
            case "H":
            {
                RPCClient_Plugin.ChangeId("HScene");
                break;
            }

            case "Studio":
            {
                RPCClient_Plugin.ChangeId("Studio");
                break;
            }
            }
        }
예제 #2
0
 void SceneLoaded()
 {
     if (FindObjectOfType <StudioScene>())
     {
         RPCClient_Plugin.ChangeId("Studio");
     }
     else if (FindObjectOfType <FreeHScene>() && !FindObjectOfType <FreeHCharaSelect>())
     {
         RPCClient_Plugin.ChangeId("FreeHSelect");
     }
     else if (FindObjectOfType <CustomScene>())
     {
         RPCClient_Plugin.ChangeId("Maker");
     }
     else if (FindObjectOfType <HSceneProc>())
     {
         RPCClient_Plugin.ChangeId("FreeH");
     }
     else
     {
         RPCClient_Plugin.ChangeId("");
     }
 }
예제 #3
0
        public void OnLevelWasLoaded(int level)
        {
            switch (SceneManager.GetActiveScene().name)
            {
            case "Studio":
            {
                RPCClient_Plugin.ChangeId("StudioNeo");
                break;
            }

            case "HScene":
            {
                RPCClient_Plugin.ChangeId("HScene");
                break;
            }

            case "CustomScene":
            {
                RPCClient_Plugin.ChangeId("Maker");
                break;
            }
            }
        }