Skip to content

mitsuzono/unity-example-of-api-calls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-example-of-api-calls

This Unity application is an example of calling Azure Functions.

Requirement

Installation

Publish the Functions project to Azure

Setup to call APIs from Unity

Get function URL and set the URL to /Example of API calls/Assets/Scripts/ApiCaller.cs https://docs.microsoft.com/ja-jp/azure/azure-functions/functions-create-function-app-portal#test-the-function

public class ApiCaller : MonoBehaviour
{
    private readonly string FUNCTION1_URL = "https://<your_functions_name>.azurewebsites.net/api/Function1?code=<YOUR_FUNCTION1_FUNCTION_KEY>";

    ...

Usage

Open /Example of API calls directory as Unity project and open /Example of API calls/Assets/Scenes/SampleScene.unity in Unity editor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages