Skip to content

Commit

Permalink
update: sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
decoc committed Sep 6, 2019
1 parent 5bbb750 commit 352aff1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ Supported classes/structs are as bellow:
- Color
- Color32
- Rect

## Hot to use

```cs
//Deconstruct Vector3
var (x, y, z) = new Vector3(1,1,1);

//Deconstruct Color
var (r, b, c, a) = new Color(1, 1, 1);
```

0 comments on commit 352aff1

Please sign in to comment.