상속: MonoBehaviour
예제 #1
0
    public static void ComposeTweetWithScreenshot(string initialText, string url)
    {
        Application.CaptureScreenshot("../Library/Caches/screenshot.png");
        TwitterPlugin component = (new GameObject()).AddComponent <TwitterPlugin>();

        component.initialText = initialText;
        component.url         = url;
    }
예제 #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="vm"></param>
 public View(TwitterPlugin vm)
 {
     InitializeComponent();
     DataContext = vm;
 }