Code/GolfPreviewNote.razor
@using Sandbox
@using Sandbox.UI
@inherits PanelComponent

<root>
    <div class="note">
        <label class="title">Course preview</label>
        <label class="line">This is the course as the kit sees it. To play it, open Golf With Your Guns and pick it on the course screen under Community courses (map projects open in the editor are listed there too).</label>
    </div>
</root>

@code
{
    /// <summary>
    /// The small note shown while a course scene is played from the mapper's own project. The game
    /// never shows it: it switches the Golf Preview Camera object off when it loads a course.
    /// </summary>
    protected override int BuildHash() => 0;
}