Skip to content

Instantly share code, notes, and snippets.

View 404ryannotfound's full-sized avatar

404ryannotfound 404ryannotfound

View GitHub Profile
using UnityEngine;
using System.Collections;
[RequireComponent (typeof (Animator))]
[RequireComponent (typeof (NavMeshAgent))]
[RequireComponent (typeof (CapsuleCollider))]
public class ZombieInstance : MonoBehaviour {
public float hp = 100.0f, damage = 20.25f, bodieRemovalTime = 10.0f, moveSpeed = 2.0f, fieldOfView = 45.0f, viewDistance = 5.0f, playerSearchInterval = 1.0f, minChase = 5.0f, maxChase = 10.0f, minWander = 5.0f, maxWander = 20.0f;
@404ryannotfound
404ryannotfound / AchievementManager.cs
Created August 1, 2016 23:35 — forked from Mikea15/AchievementManager.cs
Simple Achievement System in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Achievement
{
public int countToUnlock { get; set; }
public bool isUnlocked { get; set; }
public string Message { get; set; }