2DxFX - 2D Sprite FX is trully a great asset that you must have if you are doing a 2D Game !
After many hours of works 2DxFX - 2D Sprite FX is an all new version of our preview asset Easy Sprite 2D, we have improve a lot of new features, including draw call optimisation, fixed so many bugs, improve our user interface and have much more posibilities.
Exemple code for the use of the Progress Energy Bar on a gameobject
using UnityEngine;
using System.Collections;
public class TestInput : MonoBehaviour
{
public _2dxFX_EnergyBar Progres;
public float bar;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
Progres.BarProgress = bar;
}
}
Just create a new script and link the gameobject with your 2DxFX Progress Energy Bar Sprite. You can now manipulate the energy by script.