Inheritance: MonoBehaviour
    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;
    }
Beispiel #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="vm"></param>
 public View(TwitterPlugin vm)
 {
     InitializeComponent();
     DataContext = vm;
 }