Firstborn/Assets/RPG Creation Kit/Scripts/Save System/SaveElements/RagdollSaveData.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

26 lines
609 B
C#

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>();
}
}