Esempio n. 1
0
        //更新目标
        public void UpdateTarget()
        {
            //set target value
            if (!isBound)
            {
                Debug.LogErrorFormat("invalide source {0}", this.path);
                return;
            }

            ExpressionUtility.UpdateTargetValue(target, propertyName, m_Context, m_LastPart, format, convert);
        }
Esempio n. 2
0
        //更新目标
        public void UpdateTarget()
        {
            //set target value
            if (!isBound)
            {
                Debug.LogErrorFormat("invalide source {0}", this.path);
                return;
            }
#if LUA_PROFILER_DEBUG
            UnityEngine.Profiling.Profiler.BeginSample(GetProfilerName() + ".UpdateTarget");
#endif
            ExpressionUtility.UpdateTargetValue(target, propertyName, m_Context, m_LastPart, format, convert);
#if LUA_PROFILER_DEBUG
            UnityEngine.Profiling.Profiler.EndSample();
#endif
        }