Skip to content

Instantly share code, notes, and snippets.

View moifeer's full-sized avatar
💭
I may be slow to respond.

moifeer

💭
I may be slow to respond.
View GitHub Profile
@Mike-Schvedov
Mike-Schvedov / PlayerMovement.cs
Created August 29, 2024 12:36
PlayerMovement - Survival Series Episode 1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public CharacterController controller;
public float speed = 12f;
public float gravity = -9.81f * 2;