using UnityEngine;
using System.Collections;
public class MainMenu : MonoBehaviour {
public string CurrentProduct="X26P";
private string OnBody() {
UIButtonTween.Play(true) panelMainGUI.TopLeft.CurrentInfo.BODY;
CurrentProduct="BODY";
Debug.Log ("currently selected product is " +CurrentProduct);
return CurrentProduct;
}
}
I seem to not be understanding the format or the syntax that the tween call has to take, if someone could maybe help me understand this it would be great
What i am tryign to achieve is the following:
I have 6 radio buttons. Each one OnActivate tweens a texture into the screen, however i want it to tween the texture out when a new checkbox is selected, BEFORE that checkbox tweens its texture onto the screen.
Have been searching for about 3 hours now, any help appreciated