UnityScripterAI
Discord ↗
Link Copied to Clipboard
×
"sum two numbers"
public class SumNumbers : MonoBehaviour { public int num1; public int num2; public int result; void Start() { result = num1 num2; Debug.Log("The sum of " num1 " and " num2 " is: " result); } }