text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
{
"name": "TapTap.AntiAddiction",
"references": [
"GUID:78b4eab872eac4aac8c45425f1f51c80"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": true,
"precompiledReferences": [
"TapTap.Bootstrap.dll",
"TapTap.Common.dll... | jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/TapTap.AntiAddiction.asmdef/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/TapTap.AntiAddiction.asmdef",
"repo_id": "jynew",
"token_count": 227
} | 1,810 |
## TapTap.Common
### 接口描述
#### 1.获取地区
```c#
TapCommon.GetRegionCode(isMainland =>
{
// true 中国大陆 false 非中国大陆
});
```
#### 2. TapTap 是否安装
```c#
TapCommon.IsTapTapInstalled(installed =>
{
// true 安装 false 未安装
});
```
#### 3. TapTap IO 是否安装
```c#
TapCommon.IsTapTapGlobalInstalled(installed =>
{
// true ... | jynew/jyx2/TapSdkFiles/TapTap/Common/Documentation/README.md/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Documentation/README.md",
"repo_id": "jynew",
"token_count": 937
} | 1,811 |
//
// TapDelegate.h
// Unity-iPhone
//
// Created by xe on 2021/7/14.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TapCommonDelegate : NSObject
@end
NS_ASSUME_NONNULL_END
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonDelegate.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonDelegate.h",
"repo_id": "jynew",
"token_count": 87
} | 1,812 |
//
// NSBundle+Tools.h
// TDSAchievement
//
// Created by TapTap-David on 2020/8/26.
// Copyright © 2020 taptap. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NSBundle (Tools)
+ (instancetype)tds_bundleName:(NSString *)bundleName aClass:(Class)aClass;
- (NSString *)tds_localizedStringForKey:(NSString ... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSBundle+Tools.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSBundle+Tools.h",
"repo_id": "jynew",
"token_count": 172
} | 1,813 |
//
// NSObject+TDSProperty.h
// TDSCommon
//
// Created by Insomnia on 2020/10/20.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TDSModelHelper.h>
#import <TapCommonSDK/TDSMacros.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^TDSClassesEnumerator) (Class cls, BOOL *stop);
typedef void (^TDSPropertiesEnum... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSObject+TDSProperty.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSObject+TDSProperty.h",
"repo_id": "jynew",
"token_count": 229
} | 1,814 |
//
// AsyncHttp.h
//
// Created by JiangJiahao on 2018/3/9.
// Copyright © 2018年 JiangJiahao. All rights reserved.
// 简单HTTP请求
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TDSHttpResult.h>
extern NSString *const TDS_TIMEOUTKEY;
extern NSString *const TDS_HTTPMETHODKEY;
extern NSString *const TDS_HTTPBO... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSAsyncHttp.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSAsyncHttp.h",
"repo_id": "jynew",
"token_count": 1109
} | 1,815 |
//
// TDSButton.h
// TapCommonSDK
//
// Created by Bottle K on 2021/4/27.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSButton : UIButton
@property (nonatomic, assign) NSInteger mode;
- (void)confirmMode;
- (void)cancelMode;
@end
NS_ASSUME_NONNULL_END
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSButton.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSButton.h",
"repo_id": "jynew",
"token_count": 120
} | 1,816 |
//
// TDSCommonUtils.h
// TDSCommon
//
// Created by TapTap-David on 2021/1/18.
//
#import <Foundation/Foundation.h>
#import "TDSTrackerConfig.h"
NS_ASSUME_NONNULL_BEGIN
@interface TDSCommonUtils : NSObject
+ (NSData *)lz4Compress:(NSData *)rawData;
+ (uint32_t)transformTime;
+ (NSString *)md5HexDigest:(NSData ... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSCommonUtils.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSCommonUtils.h",
"repo_id": "jynew",
"token_count": 276
} | 1,817 |
//
// HttpRequest.h
//
// Created by JiangJiahao on 2018/3/9.
// Copyright © 2018年 JiangJiahao. All rights reserved.
// Httpq请求封装
#import <Foundation/Foundation.h>
@interface TDSHttpRequest : NSObject
//! GET参数拼接
+ (NSString *)connectUrl:(NSString *)url params:(NSDictionary *)params;
+ (NSString *)connectUrl:(NS... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpRequest.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpRequest.h",
"repo_id": "jynew",
"token_count": 208
} | 1,818 |
//
// TDSLog.h
// TDSCommon
//
// Created by Insomnia on 2020/10/26.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
#ifndef TDSLogInfo
#define TDSLogInfo(model, format, ...) TDSLogInfoFunc(model, [NSString stringWithFormat:format, ## __VA_ARGS__], __PRETTY_FUNCTION__)
#endif
#ifndef TDSLogCustom
#d... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLog.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLog.h",
"repo_id": "jynew",
"token_count": 606
} | 1,819 |
//
// TDSNetInterceptor.h
// TDSCommon
//
// Created by Bottle K on 2021/2/25.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol TDSNetInterceptDelegate <NSObject>
@optional
- (void)receiveNetContent:(NSDictionary *)content;
@end
@interface TDSNetInterceptor : NSObject
+ (instancetype)new N... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetInterceptor.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetInterceptor.h",
"repo_id": "jynew",
"token_count": 312
} | 1,820 |
//
// Result.h
// EngineBridge
//
// Created by xe on 2020/9/28.
// Copyright © 2020 xe. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSResult : NSObject
@property (nonatomic,assign) int code;
@property (nonatomic,copy) NSString* message;
@property (nonatomic,co... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSResult.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSResult.h",
"repo_id": "jynew",
"token_count": 324
} | 1,821 |
//
// WKWebViewJavascriptBridge.h
//
// Created by @LokiMeyburg on 10/15/14.
// Copyright (c) 2014 @LokiMeyburg. All rights reserved.
//
#if (__MAC_OS_X_VERSION_MAX_ALLOWED > __MAC_10_9 || __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_7_1)
#define supportsWKWebView
#endif
#if defined supportsWKWebView
#import <Foun... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWKWebViewJavascriptBridge.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWKWebViewJavascriptBridge.h",
"repo_id": "jynew",
"token_count": 406
} | 1,822 |
//
// TapAuthManager.h
// TapCommonSDK
//
// Created by 黄驿峰 on 2022/1/27.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TapAuthResult.h>
#import <TapCommonSDK/TapAuthConfig.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^TapAuthManagerRequestHandler)(TapAuthResult *result);
FOUNDATION_EXPORT NSString * co... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthManager.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthManager.h",
"repo_id": "jynew",
"token_count": 524
} | 1,823 |
//
// TapDBDynamicPropertiesDelegate.h
// TapDB
//
// Created by xe on 2021/4/13.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef const char* _Nullable (*TapPropertiesDelegate)(const char*);
@interface TapPropertiesDelegateProxy : NSObject
- (instancetype)initWithDelegate: (TapPropertiesDel... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapPropertiesDelegateProxy.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapPropertiesDelegateProxy.h",
"repo_id": "jynew",
"token_count": 155
} | 1,824 |
fileFormatVersion: 2
guid: 66bba6f60be354100bef80f93d524493
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Modules/module.modulemap.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Modules/module.modulemap.meta",
"repo_id": "jynew",
"token_count": 62
} | 1,825 |
fileFormatVersion: 2
guid: 90355179d71c64597b1b6247b3b1b18b
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Editor/TapSDK.UI.Editor.asmdef.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Editor/TapSDK.UI.Editor.asmdef.meta",
"repo_id": "jynew",
"token_count": 66
} | 1,826 |
using UnityEngine;
namespace TapSDK.UI
{
public class LoadingPanelController : BasePanelController
{
public Transform rotater;
public float speed = 10;
/// <summary>
/// bind ugui components for every panel
/// </summary>
protected override void BindComponents... | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/LoadingPanelController.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/LoadingPanelController.cs",
"repo_id": "jynew",
"token_count": 371
} | 1,827 |
using UnityEngine;
namespace TapSDK.UI
{
[System.Serializable]
public struct BasePanelConfig
{
/// <summary>
/// animation effect related to opening and closing
/// </summary>
public EAnimationMode animationType;
public BasePanelConfig(EAnimationMode animationMode =... | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Params/BasePanelConfig.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Params/BasePanelConfig.cs",
"repo_id": "jynew",
"token_count": 162
} | 1,828 |
// <auto-generated />
//
// To parse this JSON data, add NuGet 'LC.Newtonsoft.Json' then do:
//
// using Localization.Achievement;
//
// var achievementLocalizationItems = AchievementLocalizationItems.FromJson(jsonString);
namespace Localization.Achievement
{
using System;
using System.Collections.Generi... | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/gen/AchievementLocalizationItems.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/gen/AchievementLocalizationItems.cs",
"repo_id": "jynew",
"token_count": 946
} | 1,829 |
fileFormatVersion: 2
guid: da01f5735ab314fac953d6a5bd83240a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/AccountGlobalError.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/AccountGlobalError.h.meta",
"repo_id": "jynew",
"token_count": 62
} | 1,830 |
fileFormatVersion: 2
guid: 8f33283cc2fdb4d51bcb16b7d648a3b2
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TapLoginSDK.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TapLoginSDK.h.meta",
"repo_id": "jynew",
"token_count": 67
} | 1,831 |
fileFormatVersion: 2
guid: 3b1c92b10dde9426cbbccfbbd9c05cb1
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontName: icomoon
fontNames:
- taptap-sdk-bold
fallbackFontReferences:
- {fileID... | jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Fonts/taptap-sdk-bold.ttf.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Fonts/taptap-sdk-bold.ttf.meta",
"repo_id": "jynew",
"token_count": 211
} | 1,832 |
pack:
name: Pack
agent:
type: Unity::VM
image: ml-agents/ml-agents-ubuntu-18.04:latest
flavor: b1.small
commands:
- |
eval "$($HOME/anaconda/bin/conda shell.bash hook)"
conda activate python3.10
python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.un... | ml-agents/.yamato/com.unity.ml-agents-pack.yml/0 | {
"file_path": "ml-agents/.yamato/com.unity.ml-agents-pack.yml",
"repo_id": "ml-agents",
"token_count": 346
} | 1,833 |
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender... | ml-agents/CODE_OF_CONDUCT.md/0 | {
"file_path": "ml-agents/CODE_OF_CONDUCT.md",
"repo_id": "ml-agents",
"token_count": 658
} | 1,834 |
fileFormatVersion: 2
guid: 9bafc50b1e55b43b2b1ae9620f1f8311
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/DevProject/Assets/ML-Agents/Scripts/Tests/Runtime/AcademyTest/AcademyStepperTestScene.unity.meta/0 | {
"file_path": "ml-agents/DevProject/Assets/ML-Agents/Scripts/Tests/Runtime/AcademyTest/AcademyStepperTestScene.unity.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,835 |
fileFormatVersion: 2
guid: 82d001a63a6224d07b9112b600919418
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/PerformanceProject/Assets/ML-Agents.meta/0 | {
"file_path": "ml-agents/PerformanceProject/Assets/ML-Agents.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,836 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!55 &1
PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 11
m_Gravity: {x: 0, y: -9.81, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
m_SleepThreshold: 0.005
m_DefaultContactOffset: 0.01
m_DefaultSolverIterations: 6
m_DefaultSolverVeloci... | ml-agents/PerformanceProject/ProjectSettings/DynamicsManager.asset/0 | {
"file_path": "ml-agents/PerformanceProject/ProjectSettings/DynamicsManager.asset",
"repo_id": "ml-agents",
"token_count": 456
} | 1,837 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!310 &1
UnityConnectSettings:
m_ObjectHideFlags: 0
serializedVersion: 1
m_Enabled: 0
m_TestMode: 0
m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
m_ConfigUrl: https://config.uca.cloud.unity3d.com... | ml-agents/PerformanceProject/ProjectSettings/UnityConnectSettings.asset/0 | {
"file_path": "ml-agents/PerformanceProject/ProjectSettings/UnityConnectSettings.asset",
"repo_id": "ml-agents",
"token_count": 404
} | 1,838 |
fileFormatVersion: 2
guid: 584112d49c09a4707b0118388a33d903
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Demos.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Demos.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,839 |
fileFormatVersion: 2
guid: 35c41099ceec44889bdbe95ed86c97ac
timeCreated: 1513216032
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scenes/3DBallHard.unity.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scenes/3DBallHard.unity.meta",
"repo_id": "ml-agents",
"token_count": 74
} | 1,840 |
fileFormatVersion: 2
guid: 6b6f1c189dc84df391d1c3ccb13a54f7
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/3DBall/mlagents-sample.json.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/mlagents-sample.json.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,841 |
using System;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgentsExamples
{
/// <summary>
/// A simple example of a SensorComponent.
/// This should be added to the same GameObject as the BasicController
/// </summary>
public class BasicSensorComponent : SensorComponent
{
public Basi... | ml-agents/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicSensorComponent.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicSensorComponent.cs",
"repo_id": "ml-agents",
"token_count": 692
} | 1,842 |
fileFormatVersion: 2
guid: 7ada20f4d7ae04f2d946cac21135ecbd
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Scenes/Crawler.unity.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Scenes/Crawler.unity.meta",
"repo_id": "ml-agents",
"token_count": 65
} | 1,843 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &187594449133941413
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7673585347177426643}
- component: {fileID: 6173... | ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/DungeonEscapeAgent.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/DungeonEscapeAgent.prefab",
"repo_id": "ml-agents",
"token_count": 16550
} | 1,844 |
fileFormatVersion: 2
guid: 28cc4e23163ed4144be9a5100f66585b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/TFModels.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/TFModels.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,845 |
fileFormatVersion: 2
guid: b5339e4b990ade14f992aadf3bf8591b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/FoodCollectorArea.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/FoodCollectorArea.prefab.meta",
"repo_id": "ml-agents",
"token_count": 65
} | 1,846 |
fileFormatVersion: 2
guid: 49a4e5684f6ac49b19183e8423231284
timeCreated: 1513129991
licenseType: Pro
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodLogic.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodLogic.cs.meta",
"repo_id": "ml-agents",
"token_count": 108
} | 1,847 |
fileFormatVersion: 2
guid: 9841d390cbbc64944afad281be2e9034
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/AreaColab.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/AreaColab.prefab.meta",
"repo_id": "ml-agents",
"token_count": 73
} | 1,848 |
fileFormatVersion: 2
guid: 676658555cb2d4884aa8285062aab2a1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridArea.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridArea.cs.meta",
"repo_id": "ml-agents",
"token_count": 94
} | 1,849 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6271460
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6271464}
- component: {fileID: 6271463}
- component: {fi... | ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Prefabs/HallwayArea.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Prefabs/HallwayArea.prefab",
"repo_id": "ml-agents",
"token_count": 26857
} | 1,850 |
fileFormatVersion: 2
guid: be7a27f4291944d3dba4f696e1af4209
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,851 |
fileFormatVersion: 2
guid: 9da26ec059778432080bf5fa24374960
folderAsset: yes
timeCreated: 1516234013
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scenes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scenes.meta",
"repo_id": "ml-agents",
"token_count": 80
} | 1,852 |
fileFormatVersion: 2
guid: 5fb02fbf46767439f8a1483bc12e80de
folderAsset: yes
timeCreated: 1514922284
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts.meta",
"repo_id": "ml-agents",
"token_count": 81
} | 1,853 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1891363201150404}
m_IsPrefabParent: ... | ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/BrickPyramid.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/BrickPyramid.prefab",
"repo_id": "ml-agents",
"token_count": 33333
} | 1,854 |
fileFormatVersion: 2
guid: 36c7baa347d68f347a9aa9698aa1bcdd
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Checkers_Gray.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Checkers_Gray.mat.meta",
"repo_id": "ml-agents",
"token_count": 74
} | 1,855 |
fileFormatVersion: 2
guid: d3855c73a8adc453f89d8df66068f21f
timeCreated: 1527928195
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMatHallway.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMatHallway.mat.meta",
"repo_id": "ml-agents",
"token_count": 80
} | 1,856 |
fileFormatVersion: 2
guid: daad6e777b6e99a46bbcded7cf6816ee
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Net.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Net.mat.meta",
"repo_id": "ml-agents",
"token_count": 74
} | 1,857 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2514443435243387629
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6084207059270429360}
- component: {fileID: 357... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/DirectionIndicator.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/DirectionIndicator.prefab",
"repo_id": "ml-agents",
"token_count": 4796
} | 1,858 |
fileFormatVersion: 2
guid: 7242efdea21e94af2990b19ee4524b17
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Platforms.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Platforms.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,859 |
fileFormatVersion: 2
guid: 4636aef99947747db8e1ed87884ed35b
folderAsset: yes
timeCreated: 1518416203
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts.meta",
"repo_id": "ml-agents",
"token_count": 80
} | 1,860 |
fileFormatVersion: 2
guid: 3c8f113a8b8d94967b1b1782c549be81
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/TargetController.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/TargetController.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,861 |
fileFormatVersion: 2
guid: ec3e8f3ed27e2244caaedaf589590a03
timeCreated: 1488399492
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerBall/Prefabs/SoccerBall.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerBall/Prefabs/SoccerBall.prefab.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,862 |
using UnityEngine;
public class SoccerBallController : MonoBehaviour
{
public GameObject area;
[HideInInspector]
public SoccerEnvController envController;
public string purpleGoalTag; //will be used to check if collided with purple goal
public string blueGoalTag; //will be used to check if collided... | ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerBallController.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerBallController.cs",
"repo_id": "ml-agents",
"token_count": 296
} | 1,863 |
fileFormatVersion: 2
guid: f6ecb5c7cab484e639c060714bfd6d51
ModelImporter:
serializedVersion: 23
fileIDToRecycleName:
100000: //RootNode
100002: BezierCurve
100004: Camera
100006: Circle
100008: Circle Arena
100010: Circle Arena.001
100012: Circle Arena.002
100014: Circle.001
100... | ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Meshes/ArenaWalls.fbx.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Meshes/ArenaWalls.fbx.meta",
"repo_id": "ml-agents",
"token_count": 2535
} | 1,864 |
fileFormatVersion: 2
guid: 1aa94772372e5473fb4605d445cf2a88
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Startup/Scripts.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Startup/Scripts.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,865 |
fileFormatVersion: 2
guid: d64d77dc566364a31896e5da2ac8534b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,866 |
fileFormatVersion: 2
guid: e61aed11f93544227801dfd529bf41c6
folderAsset: yes
timeCreated: 1520964896
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/WallJump.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump.meta",
"repo_id": "ml-agents",
"token_count": 74
} | 1,867 |
fileFormatVersion: 2
guid: da68dfde501d241c788cadc9805b214a
folderAsset: yes
timeCreated: 1517539094
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/WallJump/TFModels.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/TFModels.meta",
"repo_id": "ml-agents",
"token_count": 82
} | 1,868 |
# Changelog
This changelog isn't used; please add to the `com.unity.ml-agents` changelog instead.
## [Unreleased]
## [0.6.1-preview] - 2022-11-21
* Initial version
| ml-agents/com.unity.ml-agents.extensions/CHANGELOG.md/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/CHANGELOG.md",
"repo_id": "ml-agents",
"token_count": 61
} | 1,869 |
using UnityEditor;
using Unity.MLAgents.Editor;
using Unity.MLAgents.Extensions.Sensors;
namespace Unity.MLAgents.Extensions.Editor
{
[CustomEditor(typeof(RigidBodySensorComponent))]
[CanEditMultipleObjects]
internal class RigidBodySensorComponentEditor : UnityEditor.Editor
{
bool ShowHierarchy... | ml-agents/com.unity.ml-agents.extensions/Editor/RigidBodySensorComponentEditor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Editor/RigidBodySensorComponentEditor.cs",
"repo_id": "ml-agents",
"token_count": 1415
} | 1,870 |
fileFormatVersion: 2
guid: 14ec2823be0a4b3bbee5490ed4840e9c
timeCreated: 1612574422 | ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/DoubleInputActionAdaptor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/DoubleInputActionAdaptor.cs.meta",
"repo_id": "ml-agents",
"token_count": 41
} | 1,871 |
fileFormatVersion: 2
guid: 33005b124d7f841a191249baf2bacb2a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents.extensions/Runtime/Input/InputActuatorComponent.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/InputActuatorComponent.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,872 |
using System.Collections.Generic;
#if UNITY_2020_1_OR_NEWER
using UnityEngine;
#endif
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Extensions.Sensors
{
/// <summary>
/// ISensor implementation that generates observations for a group of Rigidbodies or ArticulationBodies.
/// </summary>
public ... | ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsBodySensor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsBodySensor.cs",
"repo_id": "ml-agents",
"token_count": 1999
} | 1,873 |
fileFormatVersion: 2
guid: 302e80f9aed2d40a3899643525e5b706
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents.extensions/Tests/Runtime.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,874 |
fileFormatVersion: 2
guid: 1894abc7110a4ab39719618db7eb55a9
timeCreated: 1612910162 | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/InputActuatorComponentTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/InputActuatorComponentTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 38
} | 1,875 |
using System;
using UnityEngine;
using NUnit.Framework;
using Unity.MLAgents.Extensions.Sensors;
namespace Unity.MLAgents.Extensions.Tests.Sensors
{
public class PoseExtractorTests
{
class BasicPoseExtractor : PoseExtractor
{
protected internal override Pose GetPoseAt(int index)
... | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/PoseExtractorTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/PoseExtractorTests.cs",
"repo_id": "ml-agents",
"token_count": 3967
} | 1,876 |
# Contribution Guidelines
Thank you for your interest in contributing to the ML-Agents Toolkit! We are
incredibly excited to see how members of our community will use and extend the
ML-Agents Toolkit. To facilitate your contributions, we've outlined a brief set
of guidelines to ensure that your extensions can be easil... | ml-agents/com.unity.ml-agents/CONTRIBUTING.md/0 | {
"file_path": "ml-agents/com.unity.ml-agents/CONTRIBUTING.md",
"repo_id": "ml-agents",
"token_count": 1080
} | 1,877 |
using UnityEditor;
using Unity.MLAgents.Integrations.Match3;
namespace Unity.MLAgents.Editor
{
[CustomEditor(typeof(Match3SensorComponent), editorForChildClasses: true)]
[CanEditMultipleObjects]
internal class Match3SensorComponentEditor : UnityEditor.Editor
{
public override void OnInspectorGUI... | ml-agents/com.unity.ml-agents/Editor/Match3SensorComponentEditor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Editor/Match3SensorComponentEditor.cs",
"repo_id": "ml-agents",
"token_count": 639
} | 1,878 |
fileFormatVersion: 2
guid: a730d5d5da5b947fa98116a36ecd017d
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 1
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
... | ml-agents/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.dll.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.dll.meta",
"repo_id": "ml-agents",
"token_count": 269
} | 1,879 |
fileFormatVersion: 2
guid: c9d901caf522f4dc5815786fa764a5da
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
... | ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/linux/native/libgrpc_csharp_ext.x64.so.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/linux/native/libgrpc_csharp_ext.x64.so.meta",
"repo_id": "ml-agents",
"token_count": 1020
} | 1,880 |
fileFormatVersion: 2
guid: 7bb5b1e3779d4342a8e70f6e3c1d67cc
timeCreated: 1593031463 | ml-agents/com.unity.ml-agents/Runtime/Actuators/ActuatorManager.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/ActuatorManager.cs.meta",
"repo_id": "ml-agents",
"token_count": 44
} | 1,881 |
using System;
using System.Text;
using System.Security.Cryptography;
using UnityEngine;
namespace Unity.MLAgents.Analytics
{
internal static class AnalyticsUtils
{
/// <summary>
/// Conversion function from byte array to hex string
/// </summary>
/// <param name="array"></param>... | ml-agents/com.unity.ml-agents/Runtime/Analytics/AnalyticsUtils.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Analytics/AnalyticsUtils.cs",
"repo_id": "ml-agents",
"token_count": 952
} | 1,882 |
using System;
using System.Collections.Generic;
using System.Linq;
using Google.Protobuf;
using Unity.MLAgents.CommunicatorObjects;
using UnityEngine;
using System.Runtime.CompilerServices;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Demonstrations;
using Unity.MLAgents.Policies;
... | ml-agents/com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs",
"repo_id": "ml-agents",
"token_count": 10875
} | 1,883 |
fileFormatVersion: 2
guid: 7a75a9dc079184c6f95bfce5796bed6a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Header.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Header.cs.meta",
"repo_id": "ml-agents",
"token_count": 95
} | 1,884 |
fileFormatVersion: 2
guid: da7618a33d91c8465853931bac585a28
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationOutput.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationOutput.cs.meta",
"repo_id": "ml-agents",
"token_count": 93
} | 1,885 |
using System.Collections.Generic;
using System;
using Unity.Sentis;
using Unity.MLAgents.Inference.Utils;
using Unity.MLAgents.Sensors;
using static Unity.MLAgents.Inference.TensorProxy;
namespace Unity.MLAgents.Inference
{
/// <summary>
/// Reshapes a Tensor so that its first dimension becomes equal to the cu... | ml-agents/com.unity.ml-agents/Runtime/Inference/GeneratorImpl.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/GeneratorImpl.cs",
"repo_id": "ml-agents",
"token_count": 5372
} | 1,886 |
namespace Unity.MLAgents.Inference
{
/// <summary>
/// Contains the names of the input and output tensors for the Inference Brain.
/// </summary>
internal static class TensorNames
{
public const string BatchSizePlaceholder = "batch_size";
public const string SequenceLengthPlaceholder... | ml-agents/com.unity.ml-agents/Runtime/Inference/TensorNames.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/TensorNames.cs",
"repo_id": "ml-agents",
"token_count": 805
} | 1,887 |
fileFormatVersion: 2
guid: 9083fa4c35dc499aa5a86d8e7447c7cf
timeCreated: 1600906373 | ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/Match3Actuator.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/Match3Actuator.cs.meta",
"repo_id": "ml-agents",
"token_count": 40
} | 1,888 |
using Unity.Sentis;
using System;
using UnityEngine;
using UnityEngine.Serialization;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Sensors.Reflection;
namespace Unity.MLAgents.Policies
{
/// <summary>
/// Defines what type of behavior the Agent will be using
/// </summary>
[Serializable]
pu... | ml-agents/com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs",
"repo_id": "ml-agents",
"token_count": 4654
} | 1,889 |
using Unity.Sentis;
using Unity.MLAgents.Inference;
namespace Unity.MLAgents.Sensors
{
/// <summary>
/// Utility methods related to <see cref="ISensor"/> implementations.
/// </summary>
public static class SensorHelper
{
/// <summary>
/// Generates the observations for the provided ... | ml-agents/com.unity.ml-agents/Runtime/SensorHelper.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/SensorHelper.cs",
"repo_id": "ml-agents",
"token_count": 2542
} | 1,890 |
fileFormatVersion: 2
guid: 71417cdf8dd542e19ec22822b001b884
timeCreated: 1573089052 | ml-agents/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs.meta",
"repo_id": "ml-agents",
"token_count": 38
} | 1,891 |
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace Unity.MLAgents.Sensors.Reflection
{
/// <summary>
/// Specify that a field or property should be used to generate observations for an Agent.
/// For each field or property that uses ObservableAttribute, a ... | ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/ObservableAttribute.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/ObservableAttribute.cs",
"repo_id": "ml-agents",
"token_count": 5224
} | 1,892 |
using UnityEngine;
namespace Unity.MLAgents.Sensors
{
/// <summary>
/// Editor components for creating Sensors. Generally an ISensor implementation should have a
/// corresponding SensorComponent to create it.
/// </summary>
public abstract class SensorComponent : MonoBehaviour
{
/// <s... | ml-agents/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs",
"repo_id": "ml-agents",
"token_count": 182
} | 1,893 |
fileFormatVersion: 2
guid: 452f8b3c01c4642aba645dcf0b6bfc6e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/SideChannels/FloatPropertiesChannel.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/SideChannels/FloatPropertiesChannel.cs.meta",
"repo_id": "ml-agents",
"token_count": 97
} | 1,894 |
fileFormatVersion: 2
guid: 3454e3c3c70964dca93b63ee4b650095
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/SimpleMultiAgentGroup.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/SimpleMultiAgentGroup.cs.meta",
"repo_id": "ml-agents",
"token_count": 95
} | 1,895 |
fileFormatVersion: 2
guid: 2715dc4ceb2c345df9ba92d799ae72ff
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,896 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Unity.MLAgents.Actuators;
using Assert = UnityEngine.Assertions.Assert;
namespace Unity.MLAgents.Tests.Actuators
{
[TestFixture]
public class VectorActuatorTests
{
class TestActionReceiver : IActionRecei... | ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/VectorActuatorTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/VectorActuatorTests.cs",
"repo_id": "ml-agents",
"token_count": 1921
} | 1,897 |
fileFormatVersion: 2
guid: 251fab8dff424abb95b2b381c7c924c3
timeCreated: 1586386329 | ml-agents/com.unity.ml-agents/Tests/Editor/Communicator/RpcCommunicatorTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Communicator/RpcCommunicatorTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 40
} | 1,898 |
using System;
using NUnit.Framework;
using Unity.Sentis;
using Unity.MLAgents.Inference;
using Unity.MLAgents.Inference.Utils;
namespace Unity.MLAgents.Tests
{
public class TensorUtilsTest
{
[TestCase(4, TestName = "TestResizeTensor_4D")]
[TestCase(8, TestName = "TestResizeTensor_8D")]
... | ml-agents/com.unity.ml-agents/Tests/Editor/Inference/TensorUtilsTest.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Inference/TensorUtilsTest.cs",
"repo_id": "ml-agents",
"token_count": 2379
} | 1,899 |
using System;
using System.Reflection;
using NUnit.Framework;
using UnityEngine;
namespace Unity.MLAgents.Tests
{
public class MultiAgentGroupTests
{
class TestAgent : Agent
{
internal int _GroupId
{
get
{
return (int)t... | ml-agents/com.unity.ml-agents/Tests/Editor/MultiAgentGroupTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/MultiAgentGroupTests.cs",
"repo_id": "ml-agents",
"token_count": 2161
} | 1,900 |
using System;
using NUnit.Framework;
namespace Unity.MLAgents.Tests
{
[TestFixture]
public class RecursionCheckerTests
{
class InfiniteRecurser
{
RecursionChecker m_checker = new RecursionChecker("InfiniteRecurser");
public int NumCalls;
public void Impl... | ml-agents/com.unity.ml-agents/Tests/Editor/RecursionCheckerTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/RecursionCheckerTests.cs",
"repo_id": "ml-agents",
"token_count": 1067
} | 1,901 |
fileFormatVersion: 2
guid: 087f04a0f817c45f4a709ed36fe5ba1a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/BoxOverlapCheckerTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/BoxOverlapCheckerTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 97
} | 1,902 |
fileFormatVersion: 2
guid: 72f121528c63749688e53aa926f2cb0a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/SimpleTestGridSensor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/SimpleTestGridSensor.cs.meta",
"repo_id": "ml-agents",
"token_count": 95
} | 1,903 |
# For more information about the available options please visit: http://go/backstage (VPN required)
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
annotations:
github.com/project-slug: unity/com.unity.ml-agents
name: com.unity.ml-agents
description: "Unity ML-Agents Package"
labels:
costcen... | ml-agents/com.unity.ml-agents/catalog-info.yaml/0 | {
"file_path": "ml-agents/com.unity.ml-agents/catalog-info.yaml",
"repo_id": "ml-agents",
"token_count": 206
} | 1,904 |
behaviors:
Worm:
trainer_type: ppo
hyperparameters:
batch_size: 2024
buffer_size: 20240
learning_rate: 0.0003
beta: 0.005
epsilon: 0.2
lambd: 0.95
num_epoch: 3
learning_rate_schedule: linear
network_settings:
normalize: true
hidden_units: 512
... | ml-agents/config/ppo/Worm.yaml/0 | {
"file_path": "ml-agents/config/ppo/Worm.yaml",
"repo_id": "ml-agents",
"token_count": 267
} | 1,905 |
# Background: PyTorch
As discussed in our
[machine learning background page](Background-Machine-Learning.md), many of the
algorithms we provide in the ML-Agents Toolkit leverage some form of deep
learning. More specifically, our implementations are built on top of the
open-source library [PyTorch](https://pytorch.org/... | ml-agents/docs/Background-PyTorch.md/0 | {
"file_path": "ml-agents/docs/Background-PyTorch.md",
"repo_id": "ml-agents",
"token_count": 468
} | 1,906 |
# Agents
**Table of Contents:**
- [Decisions](#decisions)
- [Observations and Sensors](#observations-and-sensors)
- [Generating Observations](#generating-observations)
- [Agent.CollectObservations()](#agentcollectobservations)
- [Observable Fields and Properties](#observable-fields-and-properties)
- [IS... | ml-agents/docs/Learning-Environment-Design-Agents.md/0 | {
"file_path": "ml-agents/docs/Learning-Environment-Design-Agents.md",
"repo_id": "ml-agents",
"token_count": 14856
} | 1,907 |
# Unity ML-Agents Python Low Level API
The `mlagents` Python package contains two components: a low level API which
allows you to interact directly with a Unity Environment (`mlagents_envs`) and
an entry point to train (`mlagents-learn`) which allows you to train agents in
Unity Environments using our implementations ... | ml-agents/docs/Python-LLAPI.md/0 | {
"file_path": "ml-agents/docs/Python-LLAPI.md",
"repo_id": "ml-agents",
"token_count": 4369
} | 1,908 |
# Using Virtual Environment
## What is a Virtual Environment?
A Virtual Environment is a self contained directory tree that contains a Python
installation for a particular version of Python, plus a number of additional
packages. To learn more about Virtual Environments see
[here](https://docs.python.org/3/library/ven... | ml-agents/docs/Using-Virtual-Environment.md/0 | {
"file_path": "ml-agents/docs/Using-Virtual-Environment.md",
"repo_id": "ml-agents",
"token_count": 864
} | 1,909 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.