In the file NGUITransformInspector.cs, I found the code using Bitwise operation on enum without flags. Would you want to change the Axes enum to the following?
[Flags]
enum Axes : int
{
None = 0,
X = 1,
Y = 2,
Z = 4,
All = 7,
}
On line 150, did you the following name space should be added?
using System;
using UnityEngine;
using UnityEditor;
using Object = UnityEngine.Object;
Do you think the missing xml tags should be added like below?
/// <summary>
/// Draw an editable float field.
/// </summary>
/// <param name="value"> </param>
/// <param name="hidden">Whether to replace the value with a dash</param>
/// <param name="greyedOut">Whether the value should be greyed out or not</param>
/// <param name="name"> </param>
/// <param name="opt"> </param>
static bool FloatField (string name, ref float value, bool hidden, bool greyedOut, GUILayoutOption opt)