Skip to content

Commit 0665d13

Browse files
committed
fix:
1 parent 8cee044 commit 0665d13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Editor/Export/utils/AnimationCurveGroup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public AnimationCurveGroup(string path, GameObject gameObject, Type type, string
277277
this._conpomentType = conpomentType;
278278
this._propnames = new List<string>();
279279
this._type = type;
280-
this._propertyName = propertyName.Split(".")[0];
280+
this._propertyName = propertyName.Split('.')[0];
281281
this._timeLists = new Dictionary<uint, float>();
282282
this.datas = new Dictionary<float, FrameData>();
283283
}

Editor/Export/utils/GameObjectUitls.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private static AnimationCurveGroup readTransfromAnimation(EditorCurveBinding bin
125125
{
126126
KeyFrameValueType keyType;
127127
string propNames = "";
128-
string property = propertyName.Split(".")[0];
128+
string property = propertyName.Split('.')[0];
129129
if (property == "m_LocalPosition")
130130
{
131131
propNames = "localPosition";

0 commit comments

Comments
 (0)