Skip to content

Commit

Permalink
Merge pull request pocketzworld#44 from pocketzworld/nautis-Examples
Browse files Browse the repository at this point in the history
Update serialized-fields.md
  • Loading branch information
NautisShadrick authored Mar 27, 2024
2 parents b93ec81 + ec52653 commit 2f9bced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/learn/studio/guides/scripting/serialized-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ local myBool = true

Variables defined this way are not visible in the Inspector.
To access variables via the Editor they need to be in a `SerializeField` as well as `Typed`
When you `Type` a Property you have the fundamental types `number` `boolean` `string` as well as Unity's built in Types such as: `GameObject` `Transform` and `Vector3`
When you `Type` a variable you have the fundamental types `number` `boolean` `string` as well as Unity's built in Types such as: `GameObject` `Transform` and `Vector3`
``` lua
--!SerializeField
local myNumber : number = 0
Expand Down

0 comments on commit 2f9bced

Please sign in to comment.