public static void Create() { EffectTracer asset = ScriptableObject.CreateInstance <EffectTracer>(); AssetDatabase.CreateAsset(asset, "Assets/NewTracerEffect.asset"); AssetDatabase.SaveAssets(); EditorUtility.FocusProjectWindow(); Selection.activeObject = asset; }