using UnityEngine;
using UnityEngine.UI;
public class Calk : MonoBehaviour
{
float num1;
float num2;
Text button1;
Text button2;
void TextButtonLableUpdate()
{
button1.text = num1.ToString();
button2.text = num2.ToString();
}
public void MinAndSum()
{
float a = num1 + num2;
num2 -= num1;
num1 = a;
TextButtonLableUpdate();
}
}