Created
January 7, 2014 08:01
-
-
Save uzzu/8296027 to your computer and use it in GitHub Desktop.
MonoBehaviourを継承したクラスをAssets/Standard Assetsディレクトリ以下においた場合のみ有効。
使用するShader scriptをInspectorから設定できる。Shader scriptのみ。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
namespace Hoge | |
{ | |
public class ShaderInspectorExample : MonoBehaviour | |
{ | |
public Shader publicShader; | |
[SerializeField] | |
Shader privateShader; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment