public override void OnStartAuthority() { base.OnStartAuthority(); if (hasAuthority && NetworkClient.active) { FalconHandler.ActivateFalcon(); PlayerCamera.snooperCamera.transform.parent = m_pointOfView; PlayerCamera.snooperCamera.transform.localPosition = Vector3.zero; PlayerCamera.snooperCamera.transform.localEulerAngles = Vector3.zero; } }
public override void OnStartAuthority() { base.OnStartAuthority(); if (hasAuthority && NetworkClient.active) { FalconHandler.ActivateFalcon(); PlayerCamera.roamerCamera.transform.parent = m_pointOfView; PlayerCamera.roamerCamera.transform.localPosition = Vector3.zero; PlayerCamera.roamerCamera.transform.localEulerAngles = Vector3.zero; m_animator.SetBool("Ready", true); if (GalaxyNetworkManager.localConfiguration.isHuman) { transform.eulerAngles = new Vector3(0, -90, 0); } else { transform.eulerAngles = new Vector3(0, 90, 0); } } }