浏览代码

fix cosmetic error when setting up new mesh attachment with gizmos enabled

/main
Lasse Jon Fuglsang Pedersen 5 年前
当前提交
4586af13
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
      Runtime/SkinAttachment.cs

5
Runtime/SkinAttachment.cs


Gizmos.matrix = this.transform.localToWorldMatrix;
if (meshBuffers == null)
{
EnsureMeshInstance();
}
if (attachmentType == AttachmentType.Mesh)
{
var colorArray = new Color[] { Color.red, Color.green, Color.blue, Color.cyan, Color.magenta, Color.yellow, Color.white };

正在加载...
取消
保存