scripts
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEngine.Playables
|
||||
{
|
||||
// Token: 0x020004BF RID: 1215
|
||||
public static class PlayableOutputExtensions
|
||||
{
|
||||
// Token: 0x06003B61 RID: 15201 RVA: 0x000682CC File Offset: 0x000664CC
|
||||
public static bool IsOutputValid<U>(this U output) where U : struct, IPlayableOutput
|
||||
{
|
||||
return output.GetHandle().IsValid();
|
||||
}
|
||||
|
||||
// Token: 0x06003B62 RID: 15202 RVA: 0x000682F8 File Offset: 0x000664F8
|
||||
public static Object GetReferenceObject<U>(this U output) where U : struct, IPlayableOutput
|
||||
{
|
||||
return output.GetHandle().GetReferenceObject();
|
||||
}
|
||||
|
||||
// Token: 0x06003B63 RID: 15203 RVA: 0x00068324 File Offset: 0x00066524
|
||||
public static void SetReferenceObject<U>(this U output, Object value) where U : struct, IPlayableOutput
|
||||
{
|
||||
output.GetHandle().SetReferenceObject(value);
|
||||
}
|
||||
|
||||
// Token: 0x06003B64 RID: 15204 RVA: 0x00068348 File Offset: 0x00066548
|
||||
public static Object GetUserData<U>(this U output) where U : struct, IPlayableOutput
|
||||
{
|
||||
return output.GetHandle().GetUserData();
|
||||
}
|
||||
|
||||
// Token: 0x06003B65 RID: 15205 RVA: 0x00068374 File Offset: 0x00066574
|
||||
public static void SetUserData<U>(this U output, Object value) where U : struct, IPlayableOutput
|
||||
{
|
||||
output.GetHandle().SetUserData(value);
|
||||
}
|
||||
|
||||
// Token: 0x06003B66 RID: 15206 RVA: 0x00068398 File Offset: 0x00066598
|
||||
public static Playable GetSourcePlayable<U>(this U output) where U : struct, IPlayableOutput
|
||||
{
|
||||
return new Playable(output.GetHandle().GetSourcePlayable());
|
||||
}
|
||||
|
||||
// Token: 0x06003B67 RID: 15207 RVA: 0x000683C8 File Offset: 0x000665C8
|
||||
public static void SetSourcePlayable<U, V>(this U output, V value) where U : struct, IPlayableOutput where V : struct, IPlayable
|
||||
{
|
||||
output.GetHandle().SetSourcePlayable(value.GetHandle());
|
||||
}
|
||||
|
||||
// Token: 0x06003B68 RID: 15208 RVA: 0x000683F8 File Offset: 0x000665F8
|
||||
public static int GetSourceInputPort<U>(this U output) where U : struct, IPlayableOutput
|
||||
{
|
||||
return output.GetHandle().GetSourceInputPort();
|
||||
}
|
||||
|
||||
// Token: 0x06003B69 RID: 15209 RVA: 0x00068424 File Offset: 0x00066624
|
||||
public static void SetSourceInputPort<U>(this U output, int value) where U : struct, IPlayableOutput
|
||||
{
|
||||
output.GetHandle().SetSourceInputPort(value);
|
||||
}
|
||||
|
||||
// Token: 0x06003B6A RID: 15210 RVA: 0x00068448 File Offset: 0x00066648
|
||||
public static float GetWeight<U>(this U output) where U : struct, IPlayableOutput
|
||||
{
|
||||
return output.GetHandle().GetWeight();
|
||||
}
|
||||
|
||||
// Token: 0x06003B6B RID: 15211 RVA: 0x00068474 File Offset: 0x00066674
|
||||
public static void SetWeight<U>(this U output, float value) where U : struct, IPlayableOutput
|
||||
{
|
||||
output.GetHandle().SetWeight(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user