Looking at your code, there is another problem: shootButton = GameObject.FindGameObjectWithTag ("ShootButton") as Button;. You cannot cast Component( Button ) ...
確定! 回上一頁