//更新源 public void UpdateSource() { if (!isBound) { Debug.LogErrorFormat("invalide source {0}", this.path); return; } ExpressionUtility.UpdateSourceValue(target, propertyName, m_Context, m_LastPart, format, convert); }
//更新源 public void UpdateSource() { if (!isBound) { Debug.LogErrorFormat("invalide source {0}", this.path); return; } #if LUA_PROFILER_DEBUG UnityEngine.Profiling.Profiler.BeginSample(GetProfilerName() + ".UpdateSource"); #endif ExpressionUtility.UpdateSourceValue(target, propertyName, m_Context, m_LastPart, format, convert); #if LUA_PROFILER_DEBUG UnityEngine.Profiling.Profiler.EndSample(); #endif }
//更新源 public void UpdateSource() { if (!isBound) { #if UNITY_EDITOR Debug.LogWarningFormat("invalide source {0}.{1}", this.m_Context, this.path); #endif return; } #if LUA_PROFILER_DEBUG UnityEngine.Profiling.Profiler.BeginSample("Binding.UpdateSource"); #endif ExpressionUtility.UpdateSourceValue(target, propertyName, m_Context, m_LastPart, format, convert); #if LUA_PROFILER_DEBUG UnityEngine.Profiling.Profiler.EndSample(); #endif }