示例#1
0
    void Start()
    {
        floorSprite = Resources.Load <Sprite>("Floor");

        rCreator = GetComponent <RoomCreator>();
        rCreator.CreateRoom(sizeX, sizeY, "PlayerRoom", floorSprite);
    }