示例#1
0
        /** チェック。
         */
        public static bool Check(Item a_from, Item a_to)
        {
            if (a_to == null)
            {
                UnityEngine.Debug.LogWarning("mismatch : null");
                return(false);
            }

            bool t_result = true;

            //value_list
            t_result &= Simple.Check_Enumerator("value_list", a_from.value_list, a_to.value_list, (string a_a_label, int a_a_index, in Item a_a_from, in Item a_a_to) => {
                bool t_t_result = true;
                t_t_result     &= Simple.Check_NullObject(a_a_label, a_a_from, a_a_to);
                return(t_t_result);
            });
示例#2
0
        /** チェック。
         */
        public static bool Check(Item a_from, Item a_to)
        {
            if (a_to == null)
            {
                UnityEngine.Debug.LogWarning("mismatch : null");
                return(false);
            }

            bool t_result = true;

            t_result &= Simple.Check_NullObject("value_class", a_from.value_class, a_to.value_class);
            t_result &= Simple.Check_NullObject("value_string", a_from.value_string, a_to.value_string);
            t_result &= Simple.Check_NullObject("value_list", a_from.value_list, a_to.value_list);
            t_result &= Simple.Check_NullObject("value_dictionary", a_from.value_dictionary, a_to.value_dictionary);
            t_result &= Simple.Check_NullObject("value_array", a_from.value_array, a_to.value_array);

            return(t_result);
        }