Skip to content

Instantly share code, notes, and snippets.

Avatar

Joni Hiltunen Sose

View GitHub Profile
@Sose
Sose / AttackState.cs
Last active Dec 10, 2015
Unity C# FSM
View AttackState.cs
using UnityEngine;
using System.Collections;
public class AttackState : State
{
private float attackTimer;
private float attackDuration = 0.5f;
public override void OnEnter()