mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Add exclamation point to example (#11183)
* add exclamation point to example
This commit is contained in:
@@ -292,7 +292,7 @@ values will set up according to the following sequence:
|
||||
|
||||
public:
|
||||
String get_test() { return test; }
|
||||
void set_test(String p_test) { return test = p_test; }
|
||||
void set_test(String p_test) { test = p_test + "!"; }
|
||||
|
||||
MyNode() {
|
||||
// Triggers the setter, changing _test's value from "one" to "two!".
|
||||
|
||||
Reference in New Issue
Block a user