Skip to content

Instantly share code, notes, and snippets.

View ArifCanAyerdem's full-sized avatar
🎯
Focusing

Arif Can AYERDEM ArifCanAyerdem

🎯
Focusing
View GitHub Profile
@Mike-Schvedov
Mike-Schvedov / MouseMovement.cs
Created August 29, 2024 12:37
MouseMovement - Survival Series Episode 1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseMovement : MonoBehaviour
{
public float mouseSensitivity = 100f;
float xRotation = 0f;
@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;