iTween oncomplete method on normal C# class

I have a normal C# class (non MonoBehaviour class) which I have been using iTween to animate some UI elements in my scene. Can I set the ‘oncomplete’ method to be in that class or does it only work when I pass a gameObject for ‘oncompletetarget’ field. Basically, is there a way to make the ‘oncompletetarget’ points to something other than a game object.

Any suggestion is highly appreciated!

No not directly. I’m pretty sure iTween uses SendMessage to broadcast these events to GameObjects. But you can always have an empty GameObject with a “proxy” script in your scene. As long as that script/object has access to your “non-gameobject” class it works. A Singleton GameObject comes to my mind as quick (but a bit messy) solution.