how can I fix the error cause by c# when they say: 'GD' does not contain definition for 'print' please answer?????

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mbarak000

using Godot;
using System;

public class player : Node
{
public override void _Ready()
{
GD.print(“Hello” + Name);

}

}

:bust_in_silhouette: Reply From: exuin

Try Print with a capital “P”.

Sure would be nice if the Godot C# introduction (Introducing C# in Godot) cased this correctly!

Speak2Animals | 2021-10-12 02:59

1 Like