MusicPlayer.Interact C# (CSharp) 메소드

Interact() 공개 메소드

public Interact ( ) : bool
리턴 bool
    public override bool Interact()
    {
        bool val = false;
        // start event on interaction here
        if(EventStartType.INTERACT.Equals(this.startType) && this.CheckVariables() && this.gameObject.active)
        {
            this.PlayMusic();
            val = true;
        }
        return val;
    }