void OnMouseUp()
{
if(EventStartType.INTERACT.Equals(this.startType) && this.CheckVariables() &&
this.gameObject.active && DataHolder.GameSettings().IsMouseAllowed())
{
GameObject p = GameHandler.GetPlayer();
if(p && Vector3.Distance(p.transform.position, this.transform.position) < this.maxMouseDistance)
{
this.PlayMusic();
}
}
}