Example #1
0
    void OnImageLoad(string imgPath, Texture2D tex, ImageAndVideoPicker.ImageOrientation orientation)
    {
        // imgPath : browsed image path // tex : image texture
        Texture2D newTex = duplicateTexture(tex);

        formController.SelectImage(newTex);
    }
Example #2
0
    static void OnImageLoad(string imgPath, Texture2D tex, ImageAndVideoPicker.ImageOrientation orientation)
    {
        PickerEventListener.onImageLoad -= OnImageLoad;
        // imgPath : browsed image path
        // tex : image texture
        UIMissionEditor uiMissionedit = MenuManager.instance.FindMenu <UIMissionEditor>();
        Mission         mis           = uiMissionedit.mMission;

        mis.mTextureName = "";
        mis.texture      = tex;
        uiMissionedit.mImagePic.texture = tex;
    }
Example #3
0
 void OnImageLoad(string imgPath, Texture2D tex, ImageAndVideoPicker.ImageOrientation imgOrientation)
 {
     Debug.Log("Image Location : " + imgPath);
     log    += "\n OnImageLoad : Image Path : " + imgPath;
     texture = tex;
 }
Example #4
0
 void OnImageSelect(string imgPath, ImageAndVideoPicker.ImageOrientation imgOrientation)
 {
     Debug.Log("Image Location : " + imgPath);
     log += "\n OnImageSelect : Image Path : " + imgPath;
     log += "\nImage Orientation : " + imgOrientation;
 }
Example #5
0
 void ImageLoad(string imgPath, Texture2D tex, ImageAndVideoPicker.ImageOrientation imgOrientation)
 {
     Debug.Log("Image Location : " + imgPath);
     imgTex = tex;
 }
Example #6
0
 void ImageSelect(string imgPath, ImageAndVideoPicker.ImageOrientation imgOrientation)
 {
     Debug.Log("Image Location : " + imgPath);
 }