You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: godot-core/src/obj/oneditor.rs
+1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ use crate::registry::property::{BuiltinExport, Export, Var};
15
15
///
16
16
/// Panics during access if uninitialized.
17
17
/// When used inside a node class, `OnEditor` checks if a value has been set before `ready()` is run, and panics otherwise.
18
+
/// This validation is performed for all `OnEditor` fields declared in a given `GodotClass`, regardless of whether they are `#[var]`, `#[export]`, or neither.
18
19
/// Once initialized, it can be used almost as if it was a `T` value itself, due to `Deref`/`DerefMut` impls.
19
20
///
20
21
/// `OnEditor<T>` should always be used as a property, preferably in tandem with an `#[export]` or `#[var]`.
0 commit comments