MeatMotion

SerializableMotionSettings<TValue, TOptions>

Tween settings for the Unity Inspector. Converts built-in schedulers to and from Unity's serialized representation.

Namespace
MeatMotion
Assembly
MeatMotion

Jump to members

public sealed record SerializableMotionSettings<TValue, TOptions> : MotionSettings<TValue, TOptions>, ISerializationCallbackReceiver
    where TValue : unmanaged
    where TOptions : unmanaged, IMotionOptions
MotionSettings.cs · L110

Members

OnBeforeSerialize

If the current scheduler is in the built-in table, save its index for Unity serialization.

public void OnBeforeSerialize()

OnAfterDeserialize

Restore the built-in scheduler referenced by the serialized index.

public void OnAfterDeserialize()

Related types