rimworld-animations/1.5/Source/Animations/AnimationOffsets/Offsets/AnimationOffset_Single.cs

28 lines
526 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Verse;
namespace Rimworld_Animations
{
public class AnimationOffset_Single : BaseAnimationOffset
{
public Vector3 offset;
public int? rotation;
public override Vector3? getOffset(Pawn pawn)
{
return offset;
}
public override int? getRotation(Pawn pawn)
{
return rotation;
}
}
}