mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
2D Character and weapons
This commit is contained in:
parent
072f6d0ce6
commit
cc9c4e5aa1
37 changed files with 1115 additions and 91 deletions
11
Scripts/Utils/VectorExtensions.cs
Normal file
11
Scripts/Utils/VectorExtensions.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Utils;
|
||||
|
||||
public static class VectorExtensions
|
||||
{
|
||||
public static Vector2 ToVector2(this Vector3 original)
|
||||
{
|
||||
return new Vector2(original.X, original.Z);
|
||||
}
|
||||
}
|
||||
1
Scripts/Utils/VectorExtensions.cs.uid
Normal file
1
Scripts/Utils/VectorExtensions.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://b2r4bucv0o1ui
|
||||
Loading…
Add table
Add a link
Reference in a new issue