Add UnsubscribeFromEvent function to ScriptObject, rename basic.lua to ToCppHook.lua.