localScale = new Vector3(scale, scale, scale); } Unity is a ... so you need to modify if as follows: public GameObject sprite; public float scale = 2.
確定! 回上一頁