25 lines
519 B
C#
25 lines
519 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
using System.Text;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace Thousandto.Core.Base
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 一个Transform的数据结构,Struct型的.
|
|||
|
/// </summary>
|
|||
|
public struct TransformData
|
|||
|
{
|
|||
|
public Vector3 Position;
|
|||
|
public Quaternion Rotation;
|
|||
|
public Vector3 Scale;
|
|||
|
public TransformData(Vector3 p, Quaternion r, Vector3 s)
|
|||
|
{
|
|||
|
Position = p;
|
|||
|
Rotation = r;
|
|||
|
Scale = s;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|