Skip to content

Commit 2b26788

Browse files
bors[bot]Stephan Dilly
andauthored
Merge #675
675: add docs for new property `no_editor` r=halzy a=extrawurst followup for #674 Co-authored-by: Stephan Dilly <[email protected]>
2 parents b294779 + 6757f78 commit 2b26788

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gdnative-derive/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ pub fn profiled(meta: TokenStream, input: TokenStream) -> TokenStream {
153153
///
154154
/// Call hook methods with `self` and `owner` before and/or after the generated property
155155
/// accessors.
156+
///
157+
/// - `no_editor`
158+
///
159+
/// Hides the property from the editor. Does not prevent it from being sent over network or saved in storage.
156160
#[proc_macro_derive(
157161
NativeClass,
158162
attributes(

0 commit comments

Comments
 (0)