using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : SyncBase {
public float MovementSpeed = 5.0f;
public CharacterController CharacterController;
///
/// Moves the character in the wanted direction. Should be called on the physics tick. (FixedUpdate)
///
/// Movement direction.
public void Move(Vector3 Direction) {
CharacterController.Move(Direction.normalized * MovementSpeed * Time.fixedDeltaTime);
}
}