23 lines
541 B
C#
23 lines
541 B
C#
![]() |
using Godot;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using Godot.Collections;
|
||
|
|
||
|
namespace Rokojori
|
||
|
{
|
||
|
public class CharacterMovementData
|
||
|
{
|
||
|
public CharacterMovement characterMovement;
|
||
|
public Vector3 movement;
|
||
|
public Vector3 forwardDirection;
|
||
|
public bool isMovingForward;
|
||
|
|
||
|
public void Reset( CharacterMovement characterMovement )
|
||
|
{
|
||
|
this.characterMovement = characterMovement;
|
||
|
movement = Vector3.Zero;
|
||
|
forwardDirection = Vector3.Forward;
|
||
|
isMovingForward = false;
|
||
|
}
|
||
|
}
|
||
|
}
|