How the Check Works
The CheckInvalidTransformPosition
operates at the GameObject level and performs the following functions:
GameObject Verification: When applied to a GameObject, this check inspects the transform position of the GameObject. It checks for invalid transform positions, which may indicate issues with the positioning of objects. Specifically, it looks for positions with NaN (Not-a-Number) values.
When to Use This Check
- Quality Assurance: To identify and address potential issues with object positioning, such as NaN values in transform positions.
Methods
PerformCheckForProject()
: This method does not perform any project-level checks and is empty in this implementation.PerformCheck(GameObject obj)
: Initiates the verification process for GameObjects. It checks the transform position of the provided GameObject and reports any invalid positions.PerformCheck(ScriptableObject sobj)
: This method is implemented but does not perform any specific checks for ScriptableObjects.
Attributes
longDescription
: Provides a description of what this check does.