private void InitializeGuardedTile()        // run when an owner is assigned to this guarded tile.
    {
        if (PlayerDetector != null)
        {
            Destroy(PlayerDetector.gameObject);
        }
        if (AudioManager.Instance != null)
        {
            AudioManager.Instance.PlaySFX(GuardTileClaimed);
        }
        AreaOfAttack.enabled   = true;
        PlayerDetector.enabled = false;
        ButtonRender.material  = OwnedMaterial;
        PlayerPersonalization ownerPersonalization = state.EntityOwner.GetComponent <PlayerPersonalization>();

        colorIntensity = Player_Colors.GetColorIntensity(ownerPersonalization.GetColor());
        OwnerText.text = ownerPersonalization.GetName() + "'s tile";

        Color GuardedMaterialColor = state.EntityOwner.GetComponent <PlayerPersonalization>().PlayerGraphics.material.color;

        ButtonRender.material.color = GuardedMaterialColor;
        ButtonRender.material.SetColor("_EmissionColor", GuardedMaterialColor * colorIntensity * 0.6f); // change this multiplier.
        print("I am now claimed!");
        ButtonAnim.Play(AnimHashID);
    }