public Text text;               //サンプルに対して追加

    // Use this for initialization
    void Start()
    {
        fileName = Path.Combine(Application.streamingAssetsPath, "cityphoto.jpg"); // Replace with your file

        InputManager.Instance.PushFallbackInputHandler(gameObject);                //サンプルに対して追加
        panel = gameObject.GetComponent <ShowImageOnPanel>();                      //サンプルに対して追加
    }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     InputManager.Instance.PushFallbackInputHandler(gameObject);
     panel = gameObject.GetComponent <ShowImageOnPanel>();
 }