博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Odin Inspector 系列教程 --- Hide In Editor Mode Attribute
阅读量:4147 次
发布时间:2019-05-25

本文共 315 字,大约阅读时间需要 1 分钟。

Hide In Editor Mode Attribute:用于在editor模式中隐藏指定属性,在play模式中显示

7643202-ea3f36ad94fc83d7.gif
using Sirenix.OdinInspector;using UnityEngine;public class HideInEditorModeAttributeExample : MonoBehaviour{    [Title("Hidden in editor mode")]//在editor下隐藏属性,运行时显示属性    [HideInEditorMode]    public int C;    [HideInEditorMode]    public int D;}

更多教程内容详见:

转载地址:http://lijti.baihongyu.com/

你可能感兴趣的文章
MultiThread(3)-Mutex
查看>>
MultiThread(4)-Mutex
查看>>
MultiThread(5)-Mutex
查看>>
TCP-socket
查看>>
TCP-socket(2)
查看>>
Regularized logistic regression
查看>>
神经网络(一)
查看>>
反向传导算法(二)
查看>>
TCP-socket(3)
查看>>
有个PCA的东西
查看>>
template tracking(基于模板的跟踪)
查看>>
mean shift tracking
查看>>
Machine Learning Weekly 1.0 documentation
查看>>
简单的直方图绘制
查看>>
mean sift代码解析
查看>>
行人检测(Pedestrian Detection)资源
查看>>
经典的机器学习方面源代码库
查看>>
random_shuffle (stl算法)打乱顺序
查看>>
C++对文本的操作
查看>>
希腊字母表
查看>>