You have to assign a new variable for the module first, and change the variables there:var shape = dustParticles.shape;
shape.rotation = new Vector3 (
0, 0, Mathf.Atan2(PlayerMove.y, PlayerMove.x) * Mathf.Rad2Deg
);
var main = dustParticles.main;
main.startSpeed = 2 * PlayerMove.magnitude;