This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| Copyright (c) 2026 aindrigo. | |
| This library is licensed under the GNU Lesser General Public License version 3.0 or any later version. | |
| See the bottom of the file for a full copy of the GNU Lesser General Public License version 3.0. | |
| ]] | |
| -- BEGIN lua-struct (MIT License) | |
| --[[ | |
| * Copyright (c) 2015-2020 Iryont <https://github.com/iryont/lua-struct> | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class PlayerWalk : MonoBehaviour | |
| { | |
| // Start is called before the first frame update | |
| [Header("Walking")] | |
| [SerializeField] private float walkSpeed = 10f; |