标签:style blog http color io os ar strong sp
【Creating Cubemaps in Unity3D】
1、在Editor目录下生成GenerateStaticCubemap.cs。

2、编写代码,生成一个继承于ScriptableWizard类。

wizard包含以下成员:

Wizard入口设置如下:

3、Wizard回调函数如下:

isValid忏悔控制Create按钮是否可点。

4、OnWizardUpdate用于控制是isValid值。

5、OnWizardCreate用于实现创建Cubemap的功能。

参考:
标签:style blog http color io os ar strong sp
原文地址:http://www.cnblogs.com/tekkaman/p/3999566.html