using UnityEngine;
using System.Collections;
public class chart_to_chart : MonoBehaviour {
public UIInput input;
public UITextList textList;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown (KeyCode.C)){
textList.Clear ();
}
}
public void Chart(){
textList .Add (input.value);
input.value ="";
}
}
using System.Collections;
public class chart_to_chart : MonoBehaviour {
public UIInput input;
public UITextList textList;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown (KeyCode.C)){
textList.Clear ();
}
}
public void Chart(){
textList .Add (input.value);
input.value ="";
}
}