private void RpcKill() { IKillable killable = gameObject.GetComponentInParent <IKillable>(); if (killable != null) { killable.OnKilled(); } }