コード例 #1
0
        public VisitStatus Visit <TContainer>(Property <TContainer, float3x3> property, ref TContainer container, ref float3x3 value)
        {
            using (MakePathScope(property))
            {
                CustomEditorGUILayout.Vector3Label(GetDisplayName(property), value.c0, IsMixedValue("c0", value.c0));
                CustomEditorGUILayout.Vector3Label(GetEmptyNameForRow(), value.c1, IsMixedValue("c1", value.c1));
                CustomEditorGUILayout.Vector3Label(GetEmptyNameForRow(), value.c2, IsMixedValue("c2", value.c2));
            }

            return(VisitStatus.Stop);
        }
コード例 #2
0
 public VisitStatus Visit <TContainer>(Property <TContainer, float3> property, ref TContainer container, ref float3 value)
 {
     CustomEditorGUILayout.Vector3Label(GetDisplayName(property), value, IsMixedValue(property.Name, value));
     return(VisitStatus.Stop);
 }