mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Corrects case on class name, adds note about it.
This commit is contained in:
@@ -262,7 +262,9 @@ The final script should look basically like this:
|
||||
|
||||
using Godot;
|
||||
|
||||
public class SayHello : Panel
|
||||
// IMPORTANT: the name of the class MUST match the filename exactly.
|
||||
// this is case sensitive!
|
||||
public class sayhello : Panel
|
||||
{
|
||||
public void _OnButtonPressed()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user