Skip to content

Commit c7f6c15

Browse files
committed
Update README.md
1 parent 28af90b commit c7f6c15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
![screencast](screencast.gif)
66

77
```csharp
8-
text.OnClick(RegexURL, url => Debug.Log(url));
8+
var text = GetComponent<RegexHypertext>();
9+
text.OnClick(RegexUrl, url => Debug.Log(url));
910
text.OnClick(RegexHashtag, hashtag => Debug.Log(hashtag));
1011
```
1112

0 commit comments

Comments
 (0)