GithubHelp home page GithubHelp logo

alianblank / com.alianblank.gameframex.unity.getchannel Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 3.0 803 KB

渠道获取

License: MIT License

C# 66.06% Objective-C++ 33.94%
channels-api channel channels channel-manager channel-coding channel-access channeladam channel-pruning channely channelx unity3d-plugin unity3d unity unity-3d unity-scripts unity-asset androidchannel ioschannel

com.alianblank.gameframex.unity.getchannel's Introduction

Unity 分发ios 和android 渠道号获取

该库主要服务于 https://github.com/AlianBlank/GameFrameX 作为子库使用。

使用方式(三种方式)

  1. 直接在 manifest.json 文件中的dependencies 下添加以下内容

       {"com.gameframex.unity.getchannel": "https://github.com/AlianBlank/com.gameframex.unity.getchannel.git"}
  2. 在Unity 的Packages Manager 中使用Git URL 的方式添加库,地址为:https://github.com/AlianBlank/com.gameframex.unity.getchannel.git

  3. 直接下载仓库放置到Unity 项目的Packages 目录下。会自动加载识别

改动功能

  1. 增加link.xml 防止代码被裁剪

Example

    using UnityEngine;

    public class BlankGetChannelExample : MonoBehaviour
    {
        private string value;
        void OnGUI()
        {
            GUILayout.Label(value);
            if (GUILayout.Button("GET", GUILayout.Width(200), GUILayout.Height(100)))
            {
                value = BlankGetChannel.GetChannelName("channel");
            }
        }
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.