您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
29 行
754 B
29 行
754 B
using Unity.UIWidgets.gestures;
|
|
|
|
namespace Unity.UIWidgets.painting {
|
|
public class PaintingBinding : GestureBinding {
|
|
public new static PaintingBinding instance {
|
|
get { return (PaintingBinding) GestureBinding.instance; }
|
|
set { GestureBinding.instance = value; }
|
|
}
|
|
|
|
public PaintingBinding() {
|
|
}
|
|
|
|
ImageCache _imageCache;
|
|
|
|
public ImageCache imageCache {
|
|
get {
|
|
if (this._imageCache == null) {
|
|
this._imageCache = this.createImageCache();
|
|
}
|
|
|
|
return this._imageCache;
|
|
}
|
|
}
|
|
|
|
protected virtual ImageCache createImageCache() {
|
|
return new ImageCache();
|
|
}
|
|
}
|
|
}
|