45 lines
544 B
C#
45 lines
544 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace XericLibrary.Runtime.MacroLibrary
|
|
{
|
|
/// <summary>
|
|
/// 变换宏
|
|
/// </summary>
|
|
public static class MacroTransform
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 变换封装类
|
|
/// </summary>
|
|
public class Conversion
|
|
{
|
|
#region 字段属性
|
|
|
|
/// <summary>
|
|
/// 目标变换组件
|
|
/// </summary>
|
|
private Transform transform;
|
|
|
|
#endregion
|
|
|
|
#region 使用方法
|
|
|
|
public Conversion(Transform target)
|
|
{
|
|
transform = target;
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
}
|
|
}
|