浏览代码

Fix: Removed Unused PlayerData class

/V2
andytouch 4 年前
当前提交
6c6edad7
共有 1 个文件被更改,包括 0 次插入19 次删除
  1. 19
      InputSystem_Warriors_Project/Assets/Scripts/Behaviours/Player/PlayerData.cs

19
InputSystem_Warriors_Project/Assets/Scripts/Behaviours/Player/PlayerData.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Player Data", menuName = "Scriptable Objects/Player Data", order = 1)]
public class PlayerData : ScriptableObject
{
[Header("Movement Settings")]
public float movementSpeed = 3;
//Movement Direction (From PlayerController)
[HideInInspector] public Vector3 movementDirection;
[HideInInspector] public bool movementInputHappening;
public void UpdatePlayerMovementData(Vector3 newMovementDirection)
{
movementDirection = newMovementDirection;
}
}
正在加载...
取消
保存