今日のエラー
Assets/Editor/ImageEffects/CreaseShadingEditor.cs(8,6): error CS1503: Argument ‘#1’ cannot convert ‘object’ expression to type ‘System.Type’
解決
namespace UnityStandardAssets.ImageEffects
{
[CustomEditor(typeof (CreaseShading))]
public class CreaseShadingEditor : Editor
{
を
namespace UnityStandardAssets.ImageEffects
{
[CustomEditor(typeof (CreaseShadingEditor))]
public class CreaseShadingEditor : Editor
{
に修正する。
環境
- OSX El Capitan v10.11.6
- Unity v5.4.0f3