int a = 10;
int b = 20;
int result = 0;
start(){
result = a + b;
debug.log(result);
}
這樣就能在unity的控制臺上看到result的結果:30