scripts
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Playables;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine.Animations
|
||||
{
|
||||
// Token: 0x020001F6 RID: 502
|
||||
public static class AnimationPlayableExtensions
|
||||
{
|
||||
// Token: 0x06002321 RID: 8993 RVA: 0x00028EB0 File Offset: 0x000270B0
|
||||
public static void SetAnimatedProperties<U>(this U playable, AnimationClip clip) where U : struct, IPlayable
|
||||
{
|
||||
PlayableHandle handle = playable.GetHandle();
|
||||
AnimationPlayableExtensions.SetAnimatedPropertiesInternal(ref handle, clip);
|
||||
}
|
||||
|
||||
// Token: 0x06002322 RID: 8994 RVA: 0x00028ED4 File Offset: 0x000270D4
|
||||
internal static void SetAnimatedPropertiesInternal(ref PlayableHandle playable, AnimationClip animatedProperties)
|
||||
{
|
||||
AnimationPlayableExtensions.INTERNAL_CALL_SetAnimatedPropertiesInternal(ref playable, animatedProperties);
|
||||
}
|
||||
|
||||
// Token: 0x06002323 RID: 8995
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_CALL_SetAnimatedPropertiesInternal(ref PlayableHandle playable, AnimationClip animatedProperties);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user