MusicPlayer.DropInteract C# (CSharp) Method

DropInteract() public method

public DropInteract ( ChoiceContent, drop ) : bool
drop ChoiceContent,
return bool
    public override bool DropInteract(ChoiceContent drop)
    {
        bool val = false;
        if(EventStartType.DROP.Equals(this.startType) &&
            this.CheckVariables() && this.gameObject.active && this.CheckDrop(drop))
        {
            this.PlayMusic();
            val = true;
        }
        return val;
    }