GetImageFromUserAsync() static public method

static public GetImageFromUserAsync ( string objectName, string callbackFuncName ) : void
objectName string
callbackFuncName string
return void
 void OnMouseOver()
 {
     if (Input.GetMouseButtonDown(0))
     {
         // NOTE: gameObject.name MUST BE UNIQUE!!!!
         GetImage.GetImageFromUserAsync(gameObject.name, "ReceiveImage");
     }
 }
Esempio n. 2
0
 public void OnClick()
 {
     // NOTE: gameObject.name MUST BE UNIQUE!!!!
     GetImage.GetImageFromUserAsync(gameObject.name, "ReceiveImage");
 }
Esempio n. 3
0
 public void OnGetImage(GameObject previewObj)
 {
     SelectedBtn = previewObj;
     // NOTE: gameObject.name MUST BE UNIQUE!!!!
     GetImage.GetImageFromUserAsync(gameObject.name, "ReceiveImage");
 }