您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
21 行
642 B
21 行
642 B
using Unity.UIWidgets.foundation;
|
|
using Unity.UIWidgets.ui;
|
|
using Unity.UIWidgets.widgets;
|
|
|
|
namespace Unity.UIWidgets.DevTools
|
|
{
|
|
public class FixedValueListenable<T> : ValueListenable<T> {
|
|
public FixedValueListenable(T _value)
|
|
{
|
|
this._value = _value;
|
|
}
|
|
|
|
public readonly T _value;
|
|
|
|
public void addListener(VoidCallback listener){} //public override void addListener(VoidCallback listener){}
|
|
|
|
public void removeListener(VoidCallback listener){} //public override void removeListener(VoidCallback listener){}
|
|
|
|
public T value => _value; // public override T value => _value;
|
|
}
|
|
}
|