Skip to content

Commit

Permalink
Simplify code example in CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Mar 6, 2023
1 parent 850565f commit 256af2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- The `YarnNode` attribute can be attached to a `string` property to turn it into a drop-down menu for choosing nodes in a Yarn Project.
```csharp
// A reference to a Yarn Project
public Yarn.Unity.YarnProject project;
public YarnProject project;

// A node in 'project'
[Yarn.Unity.YarnNode(nameof(project))]
[YarnNode(nameof(project))]
public string node1;

// Another node in 'project'
[Yarn.Unity.YarnNode(nameof(project))]
[YarnNode(nameof(project))]
public string node2;
```

Expand Down

0 comments on commit 256af2d

Please sign in to comment.