Exemplo n.º 1
0
 void Start()
 {
     rendering.sprite = sprites [index];
     EaListener.AddListener <EaAnimation> (gameObject, 1 / (float)frameRate, OnCompletePlaying);
 }
Exemplo n.º 2
0
    public static EaListener AddListener(GameObject obj, float listenFrequency, Action OnListenComplete, params Option [] options)
    {
        EaListener listener = EaListener.AddListener(obj, listenFrequency, OnListenComplete, default(Detail));

        return(AddOptions(listener, options));
    }