Martial arts star Conor McGregor appeared outside a New York court and spoke in connection with an incident backstage earlier in the year.