Thank you, the problem have gone, i find that there is noting wrong with my code after i post this question. The reason is that i haven't change the two variables'value on the inspector,
public int _wndWidth = 450;
public int _wndHeight = 420;
It still stay 300 and 200 if i do not change it on the inspector, thanks any way.
↧