void Start() { if (isClient && isLocalPlayer) { singleton = this; pCommmon.isClientSingleton = true; } if (isServer && isClient && isLocalPlayer && hasAuthority) { singleton = this; pCommmon.isClientSingleton = true; } }