using Godot; using System; using System.Data; public partial class SupportBall : Ball { public static SupportBall _Create(int NUMBER) { PackedScene scene = ResourceLoader.Load("res://Gameplay/support_ball.tscn"); SupportBall newBall = scene.Instantiate(); newBall.GetNode("Image").Texture = GD.Load("res://art/ball_" + NUMBER + ".png"); return newBall; } }