Skip to content

Commit 9802134

Browse files
Roms1383psiberx
authored andcommitted
docs: add fields example
1 parent 5cfbe5e commit 9802134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wiki/Home.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,10 +789,10 @@ Resource references (`rRef` and `raRef`) can now be imported and manipulated fro
789789

790790
```swift
791791
@addField(WeaponObject)
792-
native let effect: ResourceRef;
792+
public native let effect: ResourceRef;
793793

794794
@addField(inkMask)
795-
native let textureAtlas: ResourceAsyncRef;
795+
public native let textureAtlas: ResourceAsyncRef;
796796
```
797797

798798
Reference can be initialized by assigning a resource path using `*=` operator:

0 commit comments

Comments
 (0)