Skip to content

Instantly share code, notes, and snippets.

Harry Jones delphic

Block or report user

Report or block delphic

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
View TargetFilter.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Definitions/Target Filter")]
public class TargetFilter : ScriptableObject
// Target filters work by taking a set of potential targets and then by applying
// a series of filters in turn to narrow down your targets until you're left
// with who you want to target.
delphic / AnimationController.cs
Created Apr 11, 2019
Unity3D Playables API Based Character Animation Controller
View AnimationController.cs
using UnityEngine;
using UnityEngine.Animations;
using UnityEngine.Playables;
public class AnimationController : MonoBehaviour
const string ANIMATION = "Animation";
PlayableGraph _playableGraph;
delphic / ScrollingMaterial.cs
Created Apr 11, 2019
Simple Unity3D Scrolling Material Script
View ScrollingMaterial.cs
using UnityEngine;
public class ScrollingMaterial : MonoBehaviour
public float Speed;
float _uvFactor;
Material _materialToScroll;
delphic / DebugTimeScaler.cs
Created Apr 11, 2019
Simple Unity Debugging Timescale Helper
View DebugTimeScaler.cs
using UnityEngine;
public class DebugTimeScaler : MonoBehaviour
void Update()
if (Input.GetKeyDown(KeyCode.LeftBracket))
Time.timeScale /= 2f;
delphic / gist:5960293
Last active Dec 19, 2015
Console Program to calculate inversions in an array.
View gist:5960293
using System;
using System.IO;
using System.Linq;
namespace CountingInversions
class MainClass
public static void Main (string[] args)
You can’t perform that action at this time.