12345678910111213141516171819 |
- using UnityEngine;
- using System.Collections;
- public class LoadFacebookInOtherScene : MonoBehaviour {
- // Use this for initialization
- void Start () {
- StartCoroutine(UnloadResourceE());
- }
-
- public IEnumerator UnloadResourceE()
- {
-
- yield return Resources.UnloadUnusedAssets();
- FacebookHelper.Instance.LogIn();
-
-
- }
- }
|