Putting a script on Main Camera

So how do I reference the camera? Do I have to use .FindObject or .FindByTag? Since the script is attached to the Main Camera can I use this.Transform.x += 10;
I’m just throwing Transform out there, atm I have no particular componet or property I want to change, I’m just reading a box and they never went into this.

GetComponent I think… or find by tag? not sure new to unity myself

If the script is attached to the Main Camera already you shouldn’t have to do anything to reference it, since it’s already a part of it. For example:

void Start(){
     //This moves the camera to the right by 10 units.
     //Simply use "transform" to reference the object that the script is attached to, and the object's position, rotation, and/or scale.
     transform.position = new Vector3(transform.postion.x + 10,0,0);
}