mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2026-06-18 19:35:58 +00:00
33 lines
671 B
C#
33 lines
671 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 Vector3? scale = Vector3.one;
|
|
|
|
public override Vector3? getOffset(Pawn pawn)
|
|
{
|
|
return offset;
|
|
}
|
|
|
|
public override int? getRotation(Pawn pawn)
|
|
{
|
|
return rotation;
|
|
}
|
|
|
|
public override Vector3? getScale(Pawn pawn)
|
|
{
|
|
return scale;
|
|
}
|
|
}
|
|
}
|