findObjectOfType<T> abstract method

T findObjectOfType<T>()

Used to find an object of type T

If there are more objects of type T, a StateError is thrown

Implementation

T findObjectOfType<T>();