Class TestBase.GizmoValidator
Basic mono behavior for validating gizmo behavior
Namespace: nickmaltbie.TestUtilsUnity.Tests.TestCommon
Assembly: cs.temp.dll.dll
Syntax
public class GizmoValidator : MonoBehaviour
Properties
GizmoAction
Gizmo action to validate.
Declaration
public Action GizmoAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Action |
Invoked
Has the gizmo action been invoked.
Declaration
public bool Invoked { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
OnDrawGizmos()
Basic mono behavior for validating gizmo behavior
Declaration
public void OnDrawGizmos()
ValidateGizmosDrawn(Int32, Boolean)
Basic mono behavior for validating gizmo behavior
Declaration
public IEnumerator ValidateGizmosDrawn(int maxIter = 60, bool assertValidation = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | maxIter | |
| Boolean | assertValidation |
Returns
| Type | Description |
|---|---|
| IEnumerator |