Example #1
0
    private void NativeToolkit_OnImagePicked(Texture2D img, string path)
    {
        imagePath = path;
        //console.text += "\nImage picked at: " + imagePath;

        ST_PuzzleDisplayHyper puzzle = FindObjectOfType <ST_PuzzleDisplayHyper>();

        puzzle.SetImage(img);
        puzzle.ResetGame();

        Destroy(img);
    }