rj-action-library/Runtime/Math/_Unity_To_Godot_.txt

20 lines
297 B
Plaintext

Match: \.magnitude
Replace: .Length()
Match: \.normalized
Replace: .Normalized()
Match: Vector3\.(Lerp|Dot)\(\s*(\w+)\s*,\s*
Replace: $2.$1(
Match: Vector3\.Distance\(\s*(\w+)\s*,\s*
Replace: $1.DistanceTo(
Match: \.x
Replace: .X
Match: \.y
Replace: .Y
Match: \.z
Replace: .Z