いつもお世話になっています。
Enum型で等価演算・不等価演算がしたいのですが、ドキュメントを見た限りEnum型の等価演算できる
StateBehaviourやCalculatorがなさそうなので、自前でCalculatorを実装して使っています。
ただ、Enumの特定の型毎に実装しなければならず不便に感じていて、
EnumFlags.Containsみたいに型指定できるEnum.EqualsCalculator・Enum.NotEqualsCalculatorがあるとうれしいです。
ご検討のほど、よろしくお願いします。
型指定できるEnum.EqualsCalculator・Enum.NotEqualsCalculatorの実装要望
Forum rules
The request period has ended.
The items required for the request are as follows.
要望受付は終了しました。
要望に必要な項目は以下の通りです。
The request period has ended.
The items required for the request are as follows.
- What are you trying to do with Arbor?
- Specifically, where are you inconvenient and in trouble?
- What should I do to improve?
- We can not answer requests that do not know the detailed situation.
- We can not answer your request for specific problems in the specification of your project.
- We can not answer your request on Unity's specification issues.
- We do not guarantee the implementation of your request.
要望受付は終了しました。
要望に必要な項目は以下の通りです。
- Arborを使って何をしようとしているか。
- 具体的にどこが不便で困っているか。
- 改善するにはどうすればよいか。
- 詳しい状況がわからない要望については答えられません。
- ユーザー様のプロジェクトの仕様上の固有の問題に対する要望については答えられません。
- Unityの仕様上の問題に対する要望には答えられません。
- 要望の実装を必ずお約束するものではございません。
- caitsithware
- 管理人
- Posts: 503
- Joined: 2015/08/17 12:41
Re: 型指定できるEnum.EqualsCalculator・Enum.NotEqualsCalculatorの実装要望
ご要望ありがとうございます。
検討して対応いたします。
検討して対応いたします。
Re: 型指定できるEnum.EqualsCalculator・Enum.NotEqualsCalculatorの実装要望
Arbor 3.9.0にてEnumの等価演算できるようになっているのを確認しました。
対応していただきありがとうございました。
対応していただきありがとうございました。