transform.eulerAngles(x, y, z); VS transform.eulerAngles = new Vector3(x, y, z);

Can I use these commands?

transform.eulerAngles(x, y, z);
transform.Translate(x, y, z);

Instead of these?

transform.eulerAngles = new Vector3(x, y, z);
transform.Translate = new Vector3(x, y, z);

If not, what is the difference between these two commands?

Pretty sure the top one doesn’t exist. You could make it exist though by writing a new extension method.

1 Like

Pretty sure this one doesn’t exist either. OP, are we getting any rewards for these trick questions?

1 Like

Neither exist. You both get a point each but I seriously think you should not answer because…

3 Likes