16 lines
294 B
C#
16 lines
294 B
C#
using Godot;
|
|
|
|
public partial class MegamiBeamShot : Projectile
|
|
{
|
|
public override void _Ready()
|
|
{
|
|
Rotation = ParentCharacter.Rotation;
|
|
GD.Print(Rotation);
|
|
}
|
|
|
|
public override void _Process(double delta)
|
|
{
|
|
Translate(new Vector3(0, 0, -Speed * (float)delta));
|
|
}
|
|
}
|