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 HutongGames.PlayMaker; | |
using UnityEngine; | |
[ActionCategory("SmoothMoves")] | |
[Tooltip("Sets the sprite color of the Sprite")] | |
public class SmoothMoves_SetSpriteColor : FsmStateAction | |
{ | |
[RequiredField] | |
[CheckForComponent(typeof(SmoothMoves.Sprite))] | |
[Tooltip("Game Object to set the color on.")] |
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 # | |
# =============== # | |
[Ll]ibrary/ | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild/ | |
#Unity3D Generated File On Crash Reports | |
sysinfo.txt |
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; | |
using UnityEditor; | |
using System.IO; | |
/// <summary> | |
/// Taken from here : http://www.jacobpennock.com/Blog/?page_id=715 and modified | |
/// </summary> | |
public static class CustomAssetUtility | |
{ | |
public static void CreateAsset<T>() where T : ScriptableObject |
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; | |
using System; | |
namespace Com.Nravo.NGUI { | |
[RequireComponent(typeof(UIDragScrollView))] | |
public class UiHighlightCenteredItem : MonoBehaviour { | |
// coefs to monitor | |
// zero means target is centered, 1 means target is max away | |
[Range(0.0f, 1.0f)] public float distanceFromCenterHorizontalCoef; |
NewerOlder