1

我需要在ursina游戏中为房子加载 3 个纹理

我的代码:

textures = ["wall","slap","window"]

class Homes(Button):
    def __init__(self,pos = (10,1,0)):
       super().__init__(
          parent = scene,
          model = 'images/house',
          texture = textures,
          scale = (5,12,5),
          position = pos,
          color = color.lime,
          origin_y = 0.5,
        )

home = Homes()
4

0 回答 0