- Home /
Question by
scienc · Oct 10, 2011 at 06:28 AM ·
scriptableobjecttemplate
ScriptableObject use error , not use ?
public class ConfigElementHolder<T> : ScriptableObject where T : TableBase
{
public string typeName;
public string KeyType;
public List<string> content;
public List<T> tablebase;
public ConfigElementHolder(string typeName, string KeyType, List<string> _content,List<T> _tablebase)
{
this.typeName = typeName;
this.KeyType = KeyType;
this.content = _content;
this.tablebase = _tablebase;
}
}
Now ,i create assetbundle,but the error : Instance of ConfigElementHolder`1 couldn't be created because there is no script with that name.
i think it's unity3d limit,if you know ,please tell me . Thanks
Comment
Your answer
Follow this Question
Related Questions
Loop through a List to check whether a bool is true within a ScriptableObject 1 Answer
Why is play mode reverting my scriptableobject to a previous serialized state? 2 Answers
OnInteractivePreviewGUI multiple selection. Works but spams errors. 0 Answers
Do i need to create a "current value" for those private variables? 0 Answers
Why does my scriptable object asset lose items in a list after first playthrough? 1 Answer