public void ClosePlayer() { player.Collapse(); DOVirtual.DelayedCall(0.1f, () => { player.GetComponent <Billboard>().enabled = true; base.hrt.GetComponent <Collider>().enabled = true; player.GetComponent <Collider>().enabled = false; rayHover.SetFreeze(false); rayHover.Disappear(); justCollapsed = true; }); }