浏览代码

Merge pull request #173 from UnityTech/yczhang

Fix ValueKey comparison.
/main
GitHub 6 年前
当前提交
550c7ff6
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
      Runtime/foundation/key.cs

8
Runtime/foundation/key.cs


public static Key key(string value) {
return new ValueKey<string>(value);
}
public static bool operator ==(Key left, Key right) {
return Equals(left, right);
}
public static bool operator !=(Key left, Key right) {
return !Equals(left, right);
}
}
public abstract class LocalKey : Key {

正在加载...
取消
保存