internal PropertyHandler GetHandler(SerializedProperty property) { PropertyHandler propertyHandler; if (this.m_PropertyHandlers.TryGetValue(PropertyHandlerCache.GetPropertyHash(property), out propertyHandler)) { return(propertyHandler); } return((PropertyHandler)null); }
internal PropertyHandler GetHandler(SerializedProperty property) { int propertyHash = PropertyHandlerCache.GetPropertyHash(property); PropertyHandler result; if (this.m_PropertyHandlers.TryGetValue(propertyHash, out result)) { return(result); } return(null); }
internal static bool CanUseSameHandler(SerializedProperty p1, SerializedProperty p2) { return(PropertyHandlerCache.CanUseSameHandler(p1, p2)); }
internal void SetHandler(SerializedProperty property, PropertyHandler handler) { int propertyHash = PropertyHandlerCache.GetPropertyHash(property); this.m_PropertyHandlers[propertyHash] = handler; }