AdamsLair/duality

Introduce an AnglePropertyEditor

開放

#529 建立於 2017年5月1日

 (0 則留言) (0 個反應) (0 位負責人)C# (287 個分叉)auto 404
EditorFeatureHelp WantedUsability

倉庫指標

星標
 (1,425 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Summary

It's a somewhat common case to specify angles in the inspector. However, radian angles as used throughout Duality are not easily readable by humans. There should be a specialized property editor for angles that allows to switch between radians and degrees and defaults to degrees.

Analysis

  • Note that issue #528 is a prerequisite to this.
  • The editor should feel like an "extended numeric editor", so nothing entirely new. Same float field, limits, dragdrop, etc.
  • There should be a unit label (deg / rad) with a button area of some sort for switching units.

貢獻者指南