diff --git a/ExampleGenerator/Unity/Ui/UIBackingClassGenerator.cs b/ExampleGenerator/Unity/Ui/UIBackingClassGenerator.cs index 41ff48f..ba383ed 100644 --- a/ExampleGenerator/Unity/Ui/UIBackingClassGenerator.cs +++ b/ExampleGenerator/Unity/Ui/UIBackingClassGenerator.cs @@ -94,7 +94,7 @@ public partial class {classSymbol.Name} {{" ); source.Append( $@" - public void QueryElements() + protected override void QueryElements() {{ " );