Skip to content

Commit 5aba049

Browse files
mos9527K0lb3
authored andcommitted
AnimationClip - Read isIntCurve when Unity version is 2022.1 or higher
1 parent e7f948e commit 5aba049

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

UnityPy/classes/AnimationClip.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,8 @@ def __init__(self, reader):
519519
self.typeID = ClassIDType(reader.read_u_short())
520520
self.customType = reader.read_byte()
521521
self.isPPtrCurve = reader.read_byte()
522+
if version >= (2022, 1): # 2022.1 and up
523+
self.isIntCurve = reader.read_byte()
522524
reader.align_stream()
523525

524526

0 commit comments

Comments
 (0)