Refactor raw data ReadSttream and WriteStream to have easier to use API with more features
This commit is contained in:
@@ -323,7 +323,7 @@ bool AnimGraphBase::onNodeLoaded(Node* n)
|
||||
|
||||
int32 ruleSize;
|
||||
stream.ReadInt32(&ruleSize);
|
||||
const auto ruleBytes = (byte*)stream.Read(ruleSize);
|
||||
const auto ruleBytes = (byte*)stream.Move(ruleSize);
|
||||
|
||||
if (static_cast<int32>(transition.Flags & AnimGraphStateTransition::FlagTypes::Enabled) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user