Nez.Portable/PipelineRuntime/Tiled/TiledObjectGroup.cs
/// <summary>
/// gets all the TiledObjects with the given name
/// </summary>
/// <returns>The objects with matching names.</returns>
/// <param name="name">Name.</param>
gets all the TiledObjects with the given name
gets all the TiledObjects with the given name
public List<TiledObject> objectsWithName(string name)
        {
            var list = new List<TiledObject>();
            for (int i = 0; i < objects.Length; i++)
            {
                if (objects[i].name == name)
                    list.Add(objects[i]);
            }
            return list;
        }
public List < TiledObject > objectsWithName ( string name ) { var list = new List < TiledObject > ( ) ; for ( int i = 0 ; i < objects . Length ; i ++ ) { if ( objects [ i ] . name == name ) list . Add ( objects [ i ] ) ; } return list ; }
gets all the TiledObjects with the given name
gets all the TiledObjects with the given name
The objects with matching names.
The objects with matching names .
name
string
None