Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Gaweph's full-sized avatar
💭
<Placeholder />

Gareth Williams Gaweph

💭
<Placeholder />
View GitHub Profile
@Gaweph
Gaweph / AnimationFromTransform.cs
Last active December 19, 2016 20:10
Unity3d Script to add mechanim animation to objects based on their movement between frames
using UnityEngine;
using System.Linq;
public class AnimationFromTransform : MonoBehaviour {
public float MinMovementAmount = 1;
public string MechanimMovementName = "Forward";
private Animator _anim;
void Start () {
_prevPosition = Transform.position;
@Gaweph
Gaweph / conky-config
Created October 9, 2016 21:34
My Conky Config FIle
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes