solved code design problem regarding CreateIntance of a generic ScriptableObject