Firstborn/Assets/RPG Creation Kit/Scripts/Save System/SaveElements/RagdollSaveData.cs

26 lines
609 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RPGCreationKit;
namespace RPGCreationKit.SaveSystem
{
[System.Serializable]
public class RagdollSaveData
{
[System.Serializable]
public struct RagdollElement
{
public Vector3 pos;
public Quaternion rot;
public RagdollElement(Vector3 _p, Quaternion _r)
{
pos = _p;
rot = _r;
}
}
[SerializeField] public List<RagdollElement> ragdollElements = new List<RagdollElement>();
}
}