修复1.5.5版本Bug:
CreateInstanceFromType is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'BehaviorDesignerWindow'.
See "Script Serialization" page in the Unity Manual for further details.
1