void Start() { floorSprite = Resources.Load <Sprite>("Floor"); rCreator = GetComponent <RoomCreator>(); rCreator.CreateRoom(sizeX, sizeY, "PlayerRoom", floorSprite); }