Skip to content

Commit 6757f78

Browse files
author
Stephan Dilly
committed
add docs for new property no_editor
1 parent b294779 commit 6757f78

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)