예제 #1
0
    // Use this for initialization
    void Start()
    {
        PhotonNetwork.ConnectUsingSettings(setting);
        var temp = PhotonVoiceNetwork.Client;

        FBSoundManager.PlayMusic("lobby_theme");
        OnInitPlayerOffline();
    }
    // Use this for initialization
    void Start()
    {
        PhotonNetwork.ConnectUsingSettings(setting);
        var temp = PhotonVoiceNetwork.Client;

        FBSoundManager.PlayMusic("BackgroundMusic2");

        //GameObject fx =FBParticleManager.GetEffect("FX_Fire", 2f);
        //if (fx)
        //{
        //    fx.transform.position = Vector3.zero;
        //    fx.SetActive(true);
        //}
    }