public IGameObject GetObject(string name) { IObjectLayer layer = (IObjectLayer)m_atlas.GetLayer(LayerType.Object); return(layer.GetGameObject(name)); }
public Vector2 WhereIsObject(string name) { IObjectLayer layer = (IObjectLayer)m_atlas.GetLayer(LayerType.Object); return(layer.GetGameObject(name).Position); }