public override void OnStartLocalPlayer()
 {
     LocalPlayer = this;
 }
示例#2
0
 public void HandleLocalPlayerJoined(MainPlayerNetworkState localPlayerState)
 {
     cam_Freelook.m_LookAt = localPlayerState.gameObject.transform;
     cam_Freelook.m_Follow = localPlayerState.gameObject.transform;
     this.enabled          = true;
 }