using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerControll : MonoBehaviour { Transform playerTransform; Animation playerAnimation; Rigidbody playerRigidbody; public float moveSpeed; public float jumpAbi…