void Initialize()
        {
            rootTransform           = transform.root;
            thisRigidbody           = GetComponent <Rigidbody>();
            Turret_Speed_Multiplier = 1.0f;

            // Get the input type.
            if (inputType != 10)
            { // This tank is not an AI tank.
                inputType     = General_Settings_CS.Input_Type;
                Use_Auto_Lead = General_Settings_CS.Use_Auto_Lead;
            }

            // Get the "Turret_Horizontal_CS" and "Cannon_Vertical_CS" scripts in the tank.
            turretHorizontalScripts = GetComponentsInChildren <Turret_Horizontal_CS>();
            cannonVerticalScripts   = GetComponentsInChildren <Cannon_Vertical_CS>();

            // Get the "Camera_Rotation_CS" script in the tank.
            cameraRotationScript = transform.parent.GetComponentInChildren <Camera_Rotation_CS>();

            // Set the input script.
            Set_Input_Script(inputType);

            // Prepare the input script.
            if (inputScript != null)
            {
                inputScript.Prepare(this);
            }
        }
 public virtual void Prepare(Camera_Rotation_CS rotationScript)
 {
     this.rotationScript = rotationScript;
 }
 public override void Prepare(Camera_Rotation_CS rotationScript)
 {
     this.rotationScript = rotationScript;
     bodyTransform       = transform.root.GetComponentInChildren <Rigidbody>().transform;
 }