void Update() { // only hide while in first person mode bool firstPerson = look.InFirstPerson(); HideMeshes(firstPerson); DisableDepthCheck(firstPerson); }
void Update() { if (!isLocalPlayer) { return; } bool firstPerson = look.InFirstPerson(); HideMeshes(firstPerson); DisableDepthCheck(firstPerson); }