2024-04-16 22:10:46 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using Verse;
|
|
|
|
|
|
|
|
|
|
namespace Rimworld_Animations
|
|
|
|
|
{
|
2024-04-22 01:49:24 +00:00
|
|
|
|
public class AnimationOffset_Single : BaseAnimationOffset
|
2024-04-16 22:10:46 +00:00
|
|
|
|
{
|
2024-04-22 01:49:24 +00:00
|
|
|
|
|
|
|
|
|
public Vector3 offset;
|
2024-04-23 20:53:13 +00:00
|
|
|
|
public int? rotation;
|
2024-04-22 01:49:24 +00:00
|
|
|
|
|
|
|
|
|
public override Vector3? getOffset(Pawn pawn)
|
|
|
|
|
{
|
|
|
|
|
return offset;
|
|
|
|
|
}
|
2024-04-23 20:53:13 +00:00
|
|
|
|
|
|
|
|
|
public override int? getRotation(Pawn pawn)
|
|
|
|
|
{
|
|
|
|
|
return rotation;
|
|
|
|
|
}
|
2024-04-16 22:10:46 +00:00
|
|
|
|
}
|
|
|
|
|
}
|