private void setLocalPlayerActive(bool isActive) { isLocalPlayerActive = isActive; if (localPlayerMask != 0 && localPlayerMask != -1) { if (isActive) { Camera.cullingMask |= 1 << localPlayerMask; } else { Camera.cullingMask &= ~(1 << localPlayerMask); } } if (blobShadowCaster != null) { blobShadowCaster.SetIsActive(isActive); } }
private void startCombining(AvatarBaseAsync obj) { blobShadowCaster.SetIsActive(isActive: false); }