标签:
效果
脚本:
Properties { _MainTex ("Texture", 2D) = "white" {} [Enum(Enum1,0,Enum2,1)]_MyEnum("Enum Test", float) = 0 }
Unity Shader中自定义枚举类型
原文地址:http://www.cnblogs.com/hont/p/5657766.html