How to create a new transformation?

Here is a C # script whose purpose is that, when the Q key is pressed, the trajectory is modified

Blockquote <

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

public class translate_random: MonoBehaviour {

public float moveSpeed ​​= 5f;

transformational public transformation2;




// Use this for initialization
void Start () {

}

// The update is called once per image
void Update () {

transform.Translate (Time.deltaTime * moveSpeed, Time.deltaTime * moveSpeed, Time.deltaTime * moveSpeed);


if (Input.GetKeyDown (KeyCode.Q)) {

// no effect: the new transformation is not applied
transform.Translate (Time.deltaTime * moveSpeed, (-1) * Time.deltaTime * moveSpeed, Time.deltaTime * moveSpeed);

// no effect: the new transformation is not applied
transform2.Translate (Time.deltaTime * moveSpeed, (- 1) * Time.deltaTime * moveSpeed, Time.deltaTime * moveSpeed);

}
}

}

blockquote

It does not work.
Why?

Thank you