Unity + Facebook SDK:名称“FB”在当前上下文中不存在
Unity + Facebook SDK: The name `FB' does not exist in the current context
我想将 facebook sdk 集成到我现有的 unity 游戏中,但在尝试初始化 sdk 时收到以下错误消息:"The name `FB' does not exist in the current context"
我关注了 facebook 开发者页面上的“Getting started" guide as well as the "Facebook SDK for Unity - Examples”部分。不确定我遗漏了什么,文档也没有任何帮助:/
将 Facebook 命名空间添加到引用 FB
:
的脚本中
using Facebook.Unity;
我想将 facebook sdk 集成到我现有的 unity 游戏中,但在尝试初始化 sdk 时收到以下错误消息:"The name `FB' does not exist in the current context"
我关注了 facebook 开发者页面上的“Getting started" guide as well as the "Facebook SDK for Unity - Examples”部分。不确定我遗漏了什么,文档也没有任何帮助:/
将 Facebook 命名空间添加到引用 FB
:
using Facebook.Unity;