From 9a2e95cbe00cdfdc1f65dc986f109715c2ed693e Mon Sep 17 00:00:00 2001 From: Joanna May Date: Wed, 2 Oct 2024 17:03:48 -0500 Subject: [PATCH] docs: update readme --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a25e1bc..3b96082 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,9 @@ using Godot; // Apply all of the AutoInject mixins at once: [Meta(typeof(IAutoNode))] -public partial class MyNode : Node { } +public partial class MyNode : Node { + public override void _Notification(int what) => this.Notify(what); +} ``` Alternatively, you can use just the mixins you need from this project. @@ -66,7 +68,9 @@ Alternatively, you can use just the mixins you need from this project. typeof(IProvider), typeof(IDependent) )] -public partial class MyNode : Node { } +public partial class MyNode : Node { + public override void _Notification(int what) => this.Notify(what); +} ``` > [!IMPORTANT]