Home > Net >  After UnityEditor across objects copying and pasting properties, an error: from the information stor
After UnityEditor across objects copying and pasting properties, an error: from the information stor

Time:10-03

The Unity editor function extension, assume that each object in the scene has its own many serialization attribute (serializedProperty), with static list Store the selected serializedProperty, realize the function attributes, copy and paste between different objects, reduce the waste of resource allocation of time,

My implementation approach is to use A static list to store in A object need to copy N action attribute (serializedProperty), to object B corresponding action "sequence" (this sequence is not list form, but can be determined by the index position) under the new N new properties, will be stored in A list of attributes to the new N content covered the location,

Current effect: can implement multiple attribute under A object copy and paste, but after across objects (copy paste A object properties to objects under the corresponding attribute sequence B) will be an error, the contents of the static list which are used to store, specific content as shown in figure, what reason is this excuse me, seek solutions,
  •  Tags:  
  • C#
  • Related