21 lines
443 B
C#
21 lines
443 B
C#
using System;
|
|
using Unity.Collections;
|
|
using Unity.Entities;
|
|
using Unity.Mathematics;
|
|
|
|
[Serializable]
|
|
public struct ThirdPersonPlayer : IComponentData
|
|
{
|
|
public Entity ControlledCharacter;
|
|
public Entity ControlledCamera;
|
|
}
|
|
|
|
[Serializable]
|
|
public struct ThirdPersonPlayerInputs : IComponentData
|
|
{
|
|
public float2 MoveInput;
|
|
public float2 CameraLookInput;
|
|
public float CameraZoomInput;
|
|
public FixedInputEvent JumpPressed;
|
|
}
|