示例#1
0
 void Awake()
 {
     if (FloVRManagerIntern.Instance != null)
     {
         FloVRManagerIntern.Initialize(AppId, AppSecret, null);
     }
 }
示例#2
0
 /// <summary>
 /// Initialize the without the need for a MonoBehaviour.
 /// </summary>
 /// <param name="appId">App identifier.</param>
 /// <param name="appSecret">App secret.</param>
 /// <param name="stateChangeCallback">If system state is changed, this callback will be fired.</param>
 public static void Initialize(string appId, string appSecret, Action <SystemState> stateChangeCallback = null)
 {
     FloVRManagerIntern.Initialize(appId, appSecret, stateChangeCallback);
 }