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.

贡献者指南