void Awake()
 {
     NetworkRoomManagerExt.singleton.sceneManager = this;
     networkRoomManagerExt = NetworkRoomManagerExt.singleton;
     projectManager        = networkRoomManagerExt.GetComponent <ProjectManager>();
     SetPlayerDic();
     QualitySettings.antiAliasing = 2;
     Debug.Log("The current MSAA level is " + QualitySettings.antiAliasing);
 }
Example #2
0
 void InitSet()
 {
     networkRoomManagerExt = NetworkRoomManagerExt.singleton;
     projectManager        = networkRoomManagerExt.GetComponent <ProjectManager>();
     hapticMovement        = projectManager.GetComponent <HapticMovement>();
     for (int i = 0; i < mainEventMiddles.Length; i++)
     {
         mainEventMiddles[i].Init();
         dicMainEventMiddle.Add(mainEventMiddles[i].missionState, mainEventMiddles[i]);
     }
     StartCoroutine(ICheckPlayerSettingToStart());
 }
 public void testva()
 {
     networkRoomManagerExt.GetComponent <HapticMovement>().PlayHaptic(0);
 }