Skip to content

Instantly share code, notes, and snippets.

View codehoose's full-sized avatar

Sloan Kelly codehoose

View GitHub Profile
@codehoose
codehoose / gist:63eef427cc9e7403f695b3a76f0975fc
Last active July 24, 2018 18:39 — forked from fairinrenish/gist:da233147657e563d45ac3f7a8ffde398
Slider Volume updation after returning to main menu from a different scene
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SliderVolumeValue : MonoBehaviour
{
const float DefaultVolume = 1f;
// Reference to Audio Source component
private AudioSource audioSrc;
@codehoose
codehoose / CardClass.cs
Created August 9, 2018 01:01 — forked from StuWookie/CardClass.cs
CSV to Dictionary - All credit to Sloane Kelly
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Card
{
public int CardID { get; set; }
public int CardLvl { get; set; }
public bool CardPlayed { get; set; }