GetImageFromUserAsync() статический публичный Метод

static public GetImageFromUserAsync ( string objectName, string callbackFuncName ) : void
objectName string
callbackFuncName string
Результат void
 void OnMouseOver()
 {
     if (Input.GetMouseButtonDown(0))
     {
         // NOTE: gameObject.name MUST BE UNIQUE!!!!
         GetImage.GetImageFromUserAsync(gameObject.name, "ReceiveImage");
     }
 }
Пример #2
0
 public void OnClick()
 {
     // NOTE: gameObject.name MUST BE UNIQUE!!!!
     GetImage.GetImageFromUserAsync(gameObject.name, "ReceiveImage");
 }
Пример #3
0
 public void OnGetImage(GameObject previewObj)
 {
     SelectedBtn = previewObj;
     // NOTE: gameObject.name MUST BE UNIQUE!!!!
     GetImage.GetImageFromUserAsync(gameObject.name, "ReceiveImage");
 }