以下のコードを書き、ScriptableObjectを実体化すると、
「AmbiguousMatchException: Ambiguous matching in method resolution」と出てエラーになります。
なぜでしょうか?
C#
1using System.Collections; 2using System.Collections.Generic; 3using UnityEngine; 4 5namespace Database 6{ 7 [CreateAssetMenu(menuName = "ScriptableObject/Database/SystemColor")] 8 public class SystemColor : ScriptableObject 9 { 10 [SerializeField] Color m_Color; 11 } 12}
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/10 12:45
2018/08/10 12:47
2018/08/10 12:49
2018/08/10 12:58
2018/08/10 13:00
2018/08/10 13:09
2018/08/10 13:10
2018/08/10 13:11
2018/08/10 13:18
2018/08/10 13:21
2018/08/10 13:28
2018/08/10 13:29
2018/08/10 13:31
2018/08/10 13:34
2018/08/10 13:34
2018/08/10 13:38 編集
2018/08/10 13:35
2018/08/10 13:47
2018/08/10 13:56
2018/08/10 23:28 編集