15 lines
237 B
C#
15 lines
237 B
C#
using Godot;
|
|
|
|
public partial class Projectile : Node3D
|
|
{
|
|
[Export]
|
|
private float _projectileSpeed = 0.1f;
|
|
|
|
public override void _Ready()
|
|
{
|
|
Speed = _projectileSpeed;
|
|
}
|
|
|
|
public float Speed { get; private set; }
|
|
}
|