This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file is shared both with a MonoTouch iOS and ASP.NET MVC 3 + .NET 4 project. | |
// The result of Encrypt differs because of the default selected mode. | |
// See line 94 for information. | |
public static class EncryptionHelper | |
{ | |
/// <summary> | |
/// Default key | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =============== # | |
# Unity generated # | |
# =============== # | |
Temp/ | |
Obj/ | |
UnityGenerated/ | |
/Library/ | |
# ===================================== # | |
# Visual Studio / MonoDevelop generated # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
/// <summary> | |
/// Parallax scrolling script that should be assigned to a layer | |
/// | |
/// This is related to the tutorial http://pixelnest.io/tutorials/2d-game-unity/parallax-scrolling/ | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright © 2014 Pixelnest Studio | |
// This file is subject to the terms and conditions defined in | |
// file 'LICENSE.md', which is part of this source code package. | |
using UnityEngine; | |
namespace Pixelnest | |
{ | |
/// <summary> | |
/// Trigger an event is a cheat code is recognized | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 2014 - Pixelnest Studio | |
using System; | |
using System.Collections; | |
using UnityEngine; | |
/// <summary> | |
/// Ready to use timers for coroutines | |
/// </summary> | |
/// <summary> | |
/// Ready to use timers for coroutines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BulletPoolScript : MonoBehaviour | |
{ | |
void Start() | |
{ | |
var bulletManager = FindObjectOfType<BulletManagerScript>(); | |
if (bulletManager != null) | |
{ | |
bulletManager.OnBulletSpawned += OnBulletSpawned; | |
bulletManager.OnBulletDestroyed += OnBulletDestroyed; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
namespace InControl | |
{ | |
public class TouchTapControl : TouchControl | |
{ | |
[Header("Dimensions")] | |
public Rect activeArea = new Rect(0.0f, 0.0f, 0.5f, 1.0f); | |
[Header("Options")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bs = BrowsD_L = Facial_Blends.BrowsIn_Left = 100 | |
bs = BrowsD_R = Facial_Blends.BrowsIn_Right = 100 | |
bs = BrowsU_C = Facial_Blends.BrowsOuterLower_Left = 100 | |
bs = BrowsU_C = Facial_Blends.BrowsOuterLower_Right = 100 | |
bs = BrowsU_L = Facial_Blends.BrowsUp_Left = 100 | |
bs = BrowsU_R = Facial_Blends.BrowsUp_Right = 100 | |
bs = CheekSquint_L = Facial_Blends.Squint_Left = 100 | |
bs = CheekSquint_R = Facial_Blends.Squint_Right = 100 | |
bs = EyeBlink_L = Facial_Blends.Blink_Left = 100 | |
bs = EyeBlink_R = Facial_Blends.Blink_Right = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 2015 - Pixelnest STudio | |
// <summary> | |
/// Coroutine helpers for interpolateors | |
/// </summary> | |
public class Interpolators | |
{ | |
public readonly static AnimationCurve LinearCurve; | |
public readonly static AnimationCurve EaseOutCurve; | |
public readonly static AnimationCurve EaseInCurve; | |
public readonly static AnimationCurve EaseInOutCurve; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Easy and simple Bezier curves for Unity | |
/// </summary> | |
/// <remarks>http://devmag.org.za/2011/04/05/bzier-curves-a-tutorial/ </remarks> | |
public static class Bezier | |
{ | |
/// <summary> | |
/// | |
/// </summary> | |
/// <param name="t">Time, between 0 and 1</param> |
OlderNewer