Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerControl : MonoBehaviour {
Animator animator;
float directionX = 0;
float directionY = 0;
bool walking = false;