浏览代码

fix

/siyaoH-1.17-PlatformMessage
siyao 4 年前
当前提交
566522b7
共有 2 个文件被更改,包括 1 次插入5 次删除
  1. 2
      com.unity.uiwidgets/Runtime/widgets/basic.cs
  2. 4
      com.unity.uiwidgets/Runtime/widgets/texture.cs

2
com.unity.uiwidgets/Runtime/widgets/basic.cs


ImageRepeat repeat = ImageRepeat.noRepeat,
Rect centerSlice = null,
bool invertColors = false,
FilterMode filterMode = FilterMode.Bilinear ,
) : base(key) {
this.image = image;
this.width = width;

4
com.unity.uiwidgets/Runtime/widgets/texture.cs


public Texture( Key key = null, int? textureId = null) : base(key: key) {
D.assert(textureId != null);
if (textureId != null) {
this.textureId = textureId.Value;
}
this.textureId = textureId.Value;
}
public readonly int textureId;

正在加载...
取消
保存