File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
com.unity.formats.fbx/Editor/Sources/Recorders/FbxRecorder Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,16 @@ public Transform TransferAnimationDest
73
73
}
74
74
}
75
75
76
+ /// <summary>
77
+ /// Get a binding ID for the transform, so that the reference survives domain reload. Maintaining a direct reference would not work
78
+ /// as all scene objects are destroyed and recreated on reload (e.g. when entering/exiting playmode).
79
+ /// </summary>
80
+ /// <returns>Binding ID</returns>
81
+ static string GenerateBindingId ( )
82
+ {
83
+ return GUID . Generate ( ) . ToString ( ) ;
84
+ }
85
+
76
86
/// <summary>
77
87
/// Get the Unity object (in this case transform), associated with the given binding ID.
78
88
/// </summary>
@@ -99,16 +109,6 @@ static void SetBinding(string id, UnityEngine.Object obj)
99
109
method . Invoke ( null , new object [ ] { id , obj } ) ;
100
110
}
101
111
102
- /// <summary>
103
- /// Get a binding ID for the transform, so that the reference survives domain reload. Maintaining a direct reference would not work
104
- /// as all scene objects are destroyed and recreated on reload (e.g. when entering/exiting playmode).
105
- /// </summary>
106
- /// <returns>Binding ID</returns>
107
- static string GenerateBindingId ( )
108
- {
109
- return GUID . Generate ( ) . ToString ( ) ;
110
- }
111
-
112
112
/// <summary>
113
113
/// Determines whether p is an ancestor to t.
114
114
/// </summary>
You can’t perform that action at this time.
0 commit comments