123456789101112131415161718192021222324 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class TweetAvatar : MonoBehaviour {
- public Camera avatarCamera;
- // Use this for initialization
- void Start ()
- {
- //SaveAvatar();
- }
- public void SaveAvatar()
- {
- if (avatarCamera != null)
- {
- avatarCamera.gameObject.SetActive(true);
- avatarCamera.Render();
- avatarCamera.gameObject.SetActive(false);
- }
- }
- }
|