Nez.Portable/ECS/Scene.cs
/// <summary>
/// returns the first enabled loaded component of Type T
/// </summary>
/// <returns>The component of type.</returns>
/// <typeparam name="T">The 1st type parameter.</typeparam>
returns the first enabled loaded component of Type T
returns the first enabled loaded component of Type T
public T findComponentOfType<T>()
            where T : Component
        {
            return entities.findComponentOfType<T>();
        }
public T findComponentOfType < T > ( ) where T : Component { return entities . findComponentOfType < T > ( ) ; }
returns the first enabled loaded component of Type T
returns the first enabled loaded component of Type T
The component of type.
The component of type .
typeparam
The 1st type parameter.
The 1st type parameter .