Skip to content

Instantly share code, notes, and snippets.

Aaron Trotter AaronTrotter

Block or report user

Report or block AaronTrotter

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AaronTrotter
AaronTrotter / SimpleLightFlicker.cs
Last active Feb 8, 2019
Unity Simple Light Flicker
View SimpleLightFlicker.cs
// Aaron Trotter aarontrotter.co.uk 2019
// Free to use and modify.
// Do give credit where credit due.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleLightFlicker : MonoBehaviour
{
@AaronTrotter
AaronTrotter / SimpleFollowScript.cs
Created Jan 31, 2019
Unity Simple Follow Script
View SimpleFollowScript.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleFollowScript : MonoBehaviour
{
public bool followPosition = true;
public bool followRotation = true;
View SimpleMovement.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleMovement : MonoBehaviour
{
public float mainSpeed = 100.0f; //regular speed
float shiftAdd = 250.0f; //multiplied by how long shift is held. Basically running
float maxShift = 1000.0f; //Maximum speed when holdin gshift
float camSens = 0.25f; //How sensitive it with mouse
@AaronTrotter
AaronTrotter / TerrainSounds.cs
Last active Aug 19, 2019
Terrain Footsteps Unity
View TerrainSounds.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class TerrainSounds : MonoBehaviour
{
public Terrain terrain;
public List<TerrainTexDef> terrainLayers = new List<TerrainTexDef>();
You can’t perform that action at this time.