This file contains hidden or 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; | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
/* | |
Use : | |
FLabelAnimate label=new FLabelAnimate(Config.fontFile,"The quick brown fox\njumps over the lazy\ndog",Config.textParams); | |
TweenConfig config=new TweenConfig().intProp("endVisibleCharIdx",label.text.Length,false); | |
AddChild (label); |
This file contains hidden or 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.Collections; | |
using System.Collections.Generic; | |
using System; | |
using System.Linq; | |
using System.Text; | |
using System.Reflection; | |
public class FSpeechBubble : FContainer | |
{ |
This file contains hidden or 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; | |
/* | |
A sprite split in 2 parts, bottom, and top, each with its own color and alpha values. | |
*/ | |
public class FSplitSprite : FSprite | |
{ | |
protected Color _bottomColor=Futile.white; |
This file contains hidden or 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
/* | |
Usage : | |
ShakeUtil.Go(myFNode,myDurationInSeconds,myAmplitudeInPixels); | |
*/ | |
public class ShakeUtil { | |
static Dictionary<FNode, ShakeUtil> _pendings = new Dictionary<FNode, ShakeUtil>(); | |
public Vector2 oPosition; |
This file contains hidden or 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; | |
/* | |
Displays a sub area of a sprite. Supports trimmed atlas elements. | |
Examples : | |
// left half |
This file contains hidden or 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.Collections; | |
using System.Collections.Generic; | |
using System; | |
using System.Linq; | |
using System.Text; | |
using System.Reflection; | |
This file contains hidden or 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; | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
/* | |
A serie of 4 classes extending Futile classes in order to manage scrollable containers with scrollable buttons. |
This file contains hidden or 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; | |
/* | |
FBicolorSprite is a FSprite with 2 colors (bottom and top). | |
Usage : | |
FBicolorSprite bicolorSprite=new FBicolorSprite("Futile_White"); |
This file contains hidden or 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; | |
/* | |
FBicolorSprite is a FSprite with 2 colors (bottom and top). | |
Usage : | |
FBicolorSprite bicolorSprite=new FBicolorSprite("Futile_White"); |
This file contains hidden or 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; | |
/* | |
FShadowSprite is a FSprite with a shadow. | |
TODO : | |
setters for _shadowOffsetX, _shadowOffsetY, _shadowColor and _shadowAlphaRatio |