public static void _NCSDKWidgetPostAriticleWithImageCallback() { // _ShowMessageToast ("Post Article With Image" ); string name = "CafeSdkController"; GameObject obj = GameObject.Find(name); if (obj == null) { obj = new GameObject("CafeSdkController"); obj.AddComponent <SampleBehaviour> (); } SampleBehaviour behaviour = obj.GetComponent <SampleBehaviour> (); behaviour.OnClickScreenShotButton(); }