Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

umm/unirx_observableunitywebrequest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniRx ObservableUnityWebRequest

What

  • Wrapper for UnityEngine.Networking.UnityWebRequest with UniRx.

Install

yarn add "umm/unirx_observableunitywebrequest#^1.0.0"

Usage

using UniRx;

public class Sample {

    void Start() {
        ObservableUnityWebRequest.GetText("https://www.google.com/").Subscribe(
            (responseText) => {
                Debug.Log(responseText);
            }
        );
    }

}
  • Provide some methods for defined in UnityEngine.Networking.UnityWebRequest.

License

Copyright (c) 2017 Tetsuya Mori

Released under the MIT license, see LICENSE.txt