GetMainCameraGet main camera (or a gameObject/Component with main camera) from the current scene.
This looks for scene object with Camera component and MainCamera tag. (This is an alias of [GetByXPath("scene:://@{GetComponent(Camera)}[@{tag} = 'MainCamera']")])
using SaintsField; // Get Main Camera [GetMainCamera] public Camera mainCameraComp; // Get the transform that has the main camera [GetMainCamera] public Transform mainCameraTrans;