前言
最近项目中需要做个设备的姿态表,用来表示自身的俯仰滚动角,于是仿照飞机的飞机姿态表做了一个功能事宜。
一、使用步骤
1.导入资源
具体资源表都已经上传到个人资源文件了。
https://download.csdn.net/download/ForKnowledgeMe/89579447
2.设置数据
设置角度
操作效果
/*
*FileName: AttitudeInstrumentControl.cs
*Author: 杰尼杰尼丶
*Date: 2024/07/24 13:22:25
*UnityVersion: 2021.3.3f1
*Description: 姿态表控制
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AttitudeInstrumentCont