gameObject.transform.localPosition={x = 0, y = 100, z = 0}; 不能直接写作 gameObject.transform.localPosition={0, 100, 0};