You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
358 B
C#
16 lines
358 B
C#
|
|
using System;
|
|
using Fusion;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public struct NetworkedInput : INetworkInput
|
|
{
|
|
public Vector2 MoveDirection;
|
|
public bool Sprint;
|
|
public NetworkButtons JumpAction;
|
|
public NetworkButtons AttackAction;
|
|
|
|
public const int JUMP_BUTTON = 0;
|
|
public const int ATTACK_BUTTON = 1;
|
|
}//struct end |