get transform local axis

This isn’t asking about transform.localPosition at all. Basically all I need to do is figure out if the camera’s transform is greater than/less than the script’s gameobject’s position on its local axis.

I’m using C#.

Depending on the axis you mean do this:

if (yourObject.transform.InverseTransformPoint(Camera.main.trasnform.position).x > 1){}

This gives you the camera in your GameObjectes local space. You can then check naturally if its behind (z < 0), above (y > 0), whatever