text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
fileFormatVersion: 2
guid: b47234e1fda9a460c8cf6d6a8dba7442
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/armv7.swiftmodule.meta",
"repo_id": "jynew",
"token_count": 67
} | 1,809 |
fileFormatVersion: 2
guid: 8c90d55ff158e48d3a8186f930386fcd
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Plugins/iOS/AntiAddictionUI.framework/Modules/AntiAddictionUI.swiftmodule/x86_64.swiftmodule.meta",
"repo_id": "jynew",
"token_count": 64
} | 1,810 |
fileFormatVersion: 2
guid: c56435012e69b48b6af044632de7e05e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Plugins/iOS/Resource/AntiAdictionResources.bundle/certainBtn@3x.png.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Plugins/iOS/Resource/AntiAdictionResources.bundle/certainBtn@3x.png.meta",
"repo_id": "jynew",
"token_count": 65
} | 1,811 |
fileFormatVersion: 2
guid: fe6b90f4e513147ff86934d18724f855
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Resources/Prefabs/Standalone/TapTapChinaIDInputPanel.prefab.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Resources/Prefabs/Standalone/TapTapChinaIDInputPanel.prefab.meta",
"repo_id": "jynew",
"token_count": 64
} | 1,812 |
using System.Threading.Tasks;
using TapTap.AntiAddiction.Model;
namespace TapTap.AntiAddiction
{
internal interface ITapTapAntiAddictionJob
{
/// <summary>
/// 获取年龄,未登录状态返回0,并不是返回用户准确年龄,只是返回一个年龄区间,比如大于18岁,只会返回18
/// </summary>
int UserAgeLimit { get; }
/// <sum... | jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/ITapTapAntiAddictionJob.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/ITapTapAntiAddictionJob.cs",
"repo_id": "jynew",
"token_count": 778
} | 1,813 |
using System.Threading.Tasks;
using System.Net.Http.Headers;
using System.Net.Http;
using LC.Newtonsoft.Json;
using TapTap.AntiAddiction.Model;
using TapTap.Common.Internal.Json;
namespace TapTap.AntiAddiction.Internal
{
internal class StandaloneChina
{
static readonly string ANTI_ADDICTION_SETTINGS... | jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/Internal/StandaloneChina.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/Internal/StandaloneChina.cs",
"repo_id": "jynew",
"token_count": 672
} | 1,814 |
using System;
using LC.Newtonsoft.Json;
using UnityEngine;
using UnityEngine.UI;
using TapSDK.UI;
using TapSDK.UI.AillieoTech;
using TapTap.AntiAddiction;
using TapTap.AntiAddiction.Model;
using TapTap.AntiAddiction.Internal;
/// <summary>
/// 年/月/日 选项中的每个 item
/// </summary>
namespace TapTap.AntiAddiction.Internal {... | jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/Internal/UI/Controller/TaptapAntiAddictionTimeSelectorController.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/Internal/UI/Controller/TaptapAntiAddictionTimeSelectorController.cs",
"repo_id": "jynew",
"token_count": 8097
} | 1,815 |
using LC.Newtonsoft.Json;
namespace TapTap.AntiAddiction.Model
{
internal class ErrorResult
{
[JsonProperty("code")]
internal int Code { get; private set; }
[JsonProperty("error")]
internal string Error { get; private set; }
[JsonProperty("error_description")]
... | jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/Model/ErrorResponse.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/Model/ErrorResponse.cs",
"repo_id": "jynew",
"token_count": 245
} | 1,816 |
using System;
using System.Runtime.InteropServices;
using UnityEngine;
using TapTap.Common;
namespace Plugins.AntiAddictionUIKit
{
[Serializable]
public class CheckPayResult
{
public int status;
public string title;
public string description;
}
[Serializable]
public cl... | jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/PluginBridge.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/AntiAddiction/Script/PluginBridge.cs",
"repo_id": "jynew",
"token_count": 13352
} | 1,817 |
# TapCommon 用于支持 TapSDK 其他模块中 Android、iOS 与 Unity 的通信
> 目前 TapSDK 业务中,Unity 业务层实现的功能不多,主要作为桥接来调用 Android、iOS SDK 中的方法。
## 一、实现 Unity 调用 Android、iOS 方法
> 为了方便 Unity 一套代码可以调用双端方法,所以定义原生接口时,需要考虑 Android、iOS 语言之间的差异。
### Android 接口定义
- 使用 `@BridgeService` 、`@BridgeMethod` 、`@BridgeParam` 注解修饰 `类`、`方法`、`参数`。
- `Activit... | jynew/jyx2/TapSdkFiles/TapTap/Common/Documentation/Bridge.md/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Documentation/Bridge.md",
"repo_id": "jynew",
"token_count": 2553
} | 1,818 |
fileFormatVersion: 2
guid: c40d795a083b457fa3d923415533822c
timeCreated: 1616744098 | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/Android.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/Android.meta",
"repo_id": "jynew",
"token_count": 38
} | 1,819 |
//
// NSArray+Safe.h
// TapAchievement
//
// Created by TapTap-David on 2020/9/15.
// Copyright © 2020 taptap. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSArray (Safe)
- (void)tds_each:(void (^)(id object, NSUInteger index))block;
- (void)tds_apply:(void (^)(id object, NSUInteger inde... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSArray+Safe.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSArray+Safe.h",
"repo_id": "jynew",
"token_count": 225
} | 1,820 |
//
// NSObject+TDSModel.h
// TDSCommon
//
// Created by Insomnia on 2020/10/20.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol TDSModel <NSObject>
@optional
+ (NSDictionary *)replacedKeyFromPropertyName;
+ (NSString *)replacedKeyFromPropertyName:(NSString *)propertyName;
+ (NSDictionary *... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSObject+TDSModel.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSObject+TDSModel.h",
"repo_id": "jynew",
"token_count": 212
} | 1,821 |
//
// TDSAccountProvider.h
// TapCommonSDK
//
// Created by Bottle K on 2021/3/30.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TDSAccount.h>
NS_ASSUME_NONNULL_BEGIN
@protocol TDSAccountProvider <NSObject>
- (nullable TDSAccount *)getAccount;
- (nullable NSDictionary *)getLocalUserInfo;
- (void)g... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSAccountProvider.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSAccountProvider.h",
"repo_id": "jynew",
"token_count": 173
} | 1,822 |
//
// BridgeTool.h
// EngineBridge
//
// Created by xe on 2020/10/9.
// Copyright © 2020 xe. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TDSBridgeTool : NSObject
+ (BOOL)isEmpty:(NSString *)str;
+ (NSString *)jsonStringWithString:(NSString *)string;
+ (NSString *)jsonStringWithArray:(N... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSBridgeTool.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSBridgeTool.h",
"repo_id": "jynew",
"token_count": 197
} | 1,823 |
//
// TDSCommonUIHelper.h
// TDSCommon
//
// Created by Bottle K on 2021/3/2.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSCommonUIHelper : NSObject
/// 从common bundle获取image
+ (UIImage *)getImageFromCommonWithImageName:(NSString *)name;
/// 从bundle获取image
+... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSCommonUIHelper.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSCommonUIHelper.h",
"repo_id": "jynew",
"token_count": 900
} | 1,824 |
//
// HttpDownloadImage.h
// NativeApp
//
// Created by JiangJiahao on 2018/10/16.
// Copyright © 2018 JiangJiahao. All rights reserved.
//
#import <TapCommonSDK/TDSHttpDownloadBase.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSHttpDownloadImage : TDSHttpDownloadBase
+ (void)downloadImage:(NSString *)url callback:(d... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpDownloadImage.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpDownloadImage.h",
"repo_id": "jynew",
"token_count": 133
} | 1,825 |
//
// TDSLocalizeUtil.h
// TapCommonSDK
//
// Created by Bottle K on 2021/3/4.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TDSLocalizeManager.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSLocalizeUtil : NSObject
+ (NSString *)getCurrentLangString;
+ (TapLanguageType)getCurrentLangType;
@end
NS_ASSUME_N... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLocalizeUtil.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLocalizeUtil.h",
"repo_id": "jynew",
"token_count": 134
} | 1,826 |
//
// TDSNetExecutor.h
// TDSCommon
//
// Created by Insomnia on 2020/10/21.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TDSNetSubscriber.h>
typedef NS_ENUM (NSUInteger, TDSNetMethod) {
TDSNetMethodGet = 1,
TDSNetMethodPost
};
NS_ASSUME_NONNULL_BEGIN
@interface TDSNetRequestModel : NSObjec... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetExecutor.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetExecutor.h",
"repo_id": "jynew",
"token_count": 493
} | 1,827 |
//
// TDSRegionNetClient.h
// TDSCommon
//
// Created by TapTap-David on 2020/11/18.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TDSNetExecutor.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSRegionNetClient : NSObject
+ (instancetype)sharedInstance;
- (TDSNetExecutor *)doWithRequest:(TDSNetRequestModel *... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSRegionNetClient.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSRegionNetClient.h",
"repo_id": "jynew",
"token_count": 140
} | 1,828 |
//
// WKCookieWebview.h
// NativeApp
//
// Created by JiangJiahao on 2019/4/3.
// Copyright © 2019 JiangJiahao. All rights reserved.
// 处理wkwebview的cookie问题
#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSWKCookieWebview : WKWebView
- (id)initWithFrame:(CGRect)f... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWKCookieWebview.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWKCookieWebview.h",
"repo_id": "jynew",
"token_count": 176
} | 1,829 |
//
// TapAuthConfig.h
// TapCommonSDK
//
// Created by 黄驿峰 on 2022/2/7.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM (NSInteger, TapAuthRegionType) {
TapAuthRegionTypeCN,
TapAuthRegionTypeIO
};
NS_ASSUME_NONNULL_BEGIN
@interface TapAuthConfig : NSObject
@property (nonatomic, strong, readonly) NS... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthConfig.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthConfig.h",
"repo_id": "jynew",
"token_count": 374
} | 1,830 |
//
// TapLoginLogManager.h
// TapLoginSDK
//
// Created by Bottle K on 2021/6/22.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TdsAccountProvider.h>
#import <TapCommonSDK/TDSTrackerEvent.h>
NS_ASSUME_NONNULL_BEGIN
@interface TapLoginLogManager : NSObject
+ (instancetype)sharedInstance;
- (TDSTrack... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapLoginLogManager.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapLoginLogManager.h",
"repo_id": "jynew",
"token_count": 270
} | 1,831 |
fileFormatVersion: 2
guid: 015b37bb88ed244a7977f63297855d41
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Modules.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Modules.meta",
"repo_id": "jynew",
"token_count": 68
} | 1,832 |
using System;
namespace TapSDK.UI
{
public enum EOpenMode
{
Sync,
Async,
}
[Flags]
public enum EAnimationMode
{
None = 0,
Alpha = 1 << 0,
Scale = 1 << 1,
RightSlideIn = 1 << 2,
AlphaAndScale = Alpha | Scale,
}
} | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/Const.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/Const.cs",
"repo_id": "jynew",
"token_count": 164
} | 1,833 |
fileFormatVersion: 2
guid: 46b452bcf000a41f98212ccee88899e2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/BasePanel/BasePanelController.cs.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/BasePanel/BasePanelController.cs.meta",
"repo_id": "jynew",
"token_count": 93
} | 1,834 |
fileFormatVersion: 2
guid: 78b4eab872eac4aac8c45425f1f51c80
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/UI/TapSDK.UI.asmdef.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/TapSDK.UI.asmdef.meta",
"repo_id": "jynew",
"token_count": 68
} | 1,835 |
fileFormatVersion: 2
guid: 3e681f29e007e4e93b460de6b4b728d6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Editor.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Editor.meta",
"repo_id": "jynew",
"token_count": 71
} | 1,836 |
fileFormatVersion: 2
guid: 67cfa58fae1a44e6fb5647aa690dc0ee
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers.meta",
"repo_id": "jynew",
"token_count": 69
} | 1,837 |
fileFormatVersion: 2
guid: eb26d75f87e0f4da4919a8bc1872ce5f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TapLoginHelper.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TapLoginHelper.h.meta",
"repo_id": "jynew",
"token_count": 66
} | 1,838 |
fileFormatVersion: 2
guid: 339473477d0894d6593fb5fc9954b0e0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Fonts.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Fonts.meta",
"repo_id": "jynew",
"token_count": 69
} | 1,839 |
- description: Replace "ML agents toolkit", "ML-Agents toolkit" etc
search: /ML[ -]Agents toolkit/
replacement: ML-Agents Toolkit
insensitive: true
- description: Replace "the the"
search: /the the/
replacement: the
insensitive: true
| ml-agents/.pre-commit-search-and-replace.yaml/0 | {
"file_path": "ml-agents/.pre-commit-search-and-replace.yaml",
"repo_id": "ml-agents",
"token_count": 76
} | 1,840 |
# List of editor versions for standalone-build-test and its dependencies.
# We always run training-int-tests for all versions of the editor
# For each "other" test, we only run it against a single version of the
# editor to reduce the number of yamato jobs
test_editors:
- version: 2023.2
extra_test: gym
- versi... | ml-agents/.yamato/test_versions.metafile/0 | {
"file_path": "ml-agents/.yamato/test_versions.metafile",
"repo_id": "ml-agents",
"token_count": 121
} | 1,841 |
fileFormatVersion: 2
guid: 6584f096f53dc43eeb32803b91f36c5c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,842 |
fileFormatVersion: 2
guid: b9ac0cbf961bf4dacbfa0aa9c0d60aaa
timeCreated: 1513216032
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scenes/3DBall.unity.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scenes/3DBall.unity.meta",
"repo_id": "ml-agents",
"token_count": 80
} | 1,843 |
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
using Unity.MLAgents;
using UnityEngine.Serialization;
/// <summary>
/// An example of how to use ML-Agents without inheriting from the Agent class.
/// Observations are generated by the attached SensorComponent, and the actions
/// are retrieved from... | ml-agents/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicController.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicController.cs",
"repo_id": "ml-agents",
"token_count": 1456
} | 1,844 |
fileFormatVersion: 2
guid: 60c86839d191546c9bf58ce6a2824987
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Scenes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Scenes.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,845 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5170350252622397370
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7328666170508585541}
- component: {fileID: 656... | ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/Column.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/Column.prefab",
"repo_id": "ml-agents",
"token_count": 4907
} | 1,846 |
using UnityEngine;
public class SimpleNPC : MonoBehaviour
{
public Transform target;
private Rigidbody rb;
public float walkSpeed = 1;
// public ForceMode walkForceMode;
private Vector3 dirToGo;
// private Vector3 m_StartingPos;
// Start is called before the first frame update
void ... | ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Scripts/SimpleNPC.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Scripts/SimpleNPC.cs",
"repo_id": "ml-agents",
"token_count": 445
} | 1,847 |
fileFormatVersion: 2
guid: b59e4a7fd76af471cadd16e90133a084
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/Food.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/Food.prefab.meta",
"repo_id": "ml-agents",
"token_count": 75
} | 1,848 |
fileFormatVersion: 2
guid: be4599983abb14917a1c76329db0b6b0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs.meta",
"repo_id": "ml-agents",
"token_count": 94
} | 1,849 |
fileFormatVersion: 2
guid: 5c2bd19e4bbda4991b74387ca5d28156
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/Area.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/Area.prefab.meta",
"repo_id": "ml-agents",
"token_count": 75
} | 1,850 |
fileFormatVersion: 2
guid: 857707f3f352541d5b858efca4479b95
timeCreated: 1501806151
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs.meta",
"repo_id": "ml-agents",
"token_count": 101
} | 1,851 |
fileFormatVersion: 2
guid: 8519802844d8d4233b4c6f6758ab8322
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Match3/Prefabs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Prefabs.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,852 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!... | ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scenes/Match3.unity/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scenes/Match3.unity",
"repo_id": "ml-agents",
"token_count": 29231
} | 1,853 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1679953550419902237
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4328976497268490475}
- component: {fileID: 713... | ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockCollabAreaGrid.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Prefabs/PushBlockCollabAreaGrid.prefab",
"repo_id": "ml-agents",
"token_count": 36403
} | 1,854 |
using System.Collections;
using System.Collections.Generic;
using Unity.MLAgents;
using UnityEngine;
public class PushBlockEnvController : MonoBehaviour
{
[System.Serializable]
public class PlayerInfo
{
public PushAgentCollab Agent;
[HideInInspector]
public Vector3 StartingPos;
... | ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushBlockEnvController.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushBlockEnvController.cs",
"repo_id": "ml-agents",
"token_count": 3013
} | 1,855 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!... | ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scenes/PushBlockWithInput.unity/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scenes/PushBlockWithInput.unity",
"repo_id": "ml-agents",
"token_count": 43574
} | 1,856 |
fileFormatVersion: 2
guid: d970a35d94c53437b9ebc56130744a23
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Pyramids.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,857 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1009802342325412
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4572889372279640}
- component: {fileID: 334693796... | ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/AreaPB.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/AreaPB.prefab",
"repo_id": "ml-agents",
"token_count": 44469
} | 1,858 |
fileFormatVersion: 2
guid: c577914cc4ace45baa8c4dd54778ae00
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/TFModels.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/TFModels.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,859 |
fileFormatVersion: 2
guid: cf2a3769e6d5446698f2e3f5aab68915
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Checkers_Ball.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Checkers_Ball.mat.meta",
"repo_id": "ml-agents",
"token_count": 76
} | 1,860 |
fileFormatVersion: 2
guid: acba6bf2a290a496bb8989b42bf8698d
timeCreated: 1527928195
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMatFloor.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMatFloor.mat.meta",
"repo_id": "ml-agents",
"token_count": 78
} | 1,861 |
fileFormatVersion: 2
guid: 3825ef6e3f8624bc5934d59be09c0c92
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/LogoSymbol.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/LogoSymbol.mat.meta",
"repo_id": "ml-agents",
"token_count": 75
} | 1,862 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1508578353888260
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 224796324260922368}
- component: {fileID: 2228750... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Canvas_Watermark.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Canvas_Watermark.prefab",
"repo_id": "ml-agents",
"token_count": 2301
} | 1,863 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6907050159044240885
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6902197503240654641}
- component: {fileID: 689... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/PlatformDynamicTarget.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/PlatformDynamicTarget.prefab",
"repo_id": "ml-agents",
"token_count": 6723
} | 1,864 |
fileFormatVersion: 2
guid: 2666e257ea992476cae0f7f163165e71
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs.meta",
"repo_id": "ml-agents",
"token_count": 93
} | 1,865 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!134 &13400000
PhysicMaterial:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: zeroFriction
dynamicFriction: 0
staticFriction: 0
bounciness: 0
frictionCombine: 0
bounceCombine: 3
| ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/Physic_Materials/zeroFriction.physicMaterial/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/Physic_Materials/zeroFriction.physicMaterial",
"repo_id": "ml-agents",
"token_count": 121
} | 1,866 |
fileFormatVersion: 2
guid: 0568f5915658c3f4fa3c842868a406ee
folderAsset: yes
timeCreated: 1488399515
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerBall/Prefabs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Prefabs/SoccerBall/Prefabs.meta",
"repo_id": "ml-agents",
"token_count": 75
} | 1,867 |
using UnityEngine;
using Unity.MLAgents;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Policies;
public enum Team
{
Blue = 0,
Purple = 1
}
public class AgentSoccer : Agent
{
// Note that that the detectable tags are different for the blue and purple teams. The order is
// * ball
// * own go... | ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/AgentSoccer.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/AgentSoccer.cs",
"repo_id": "ml-agents",
"token_count": 2774
} | 1,868 |
fileFormatVersion: 2
guid: 21f2df9a3b371479883c5f6a9c1f5314
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Meshes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Meshes.meta",
"repo_id": "ml-agents",
"token_count": 73
} | 1,869 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &213013859575191415
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 6902102727328990095, guid: f0d7741d9e06247f6843b921a206b978,
type: 3}
prop... | ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Platforms/Platform.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Platforms/Platform.prefab",
"repo_id": "ml-agents",
"token_count": 6066
} | 1,870 |
fileFormatVersion: 2
guid: cc37d1e1fdf98d24ab92b329f1b8b9e0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Meshes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Meshes.meta",
"repo_id": "ml-agents",
"token_count": 73
} | 1,871 |
using UnityEngine;
public class WallJumpSettings : MonoBehaviour
{
[Header("Specific to WallJump")]
public float agentRunSpeed;
public float agentJumpHeight;
//when a goal is scored the ground will use this material for a few seconds.
public Material goalScoredMaterial;
//when fail, the ground ... | ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpSettings.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpSettings.cs",
"repo_id": "ml-agents",
"token_count": 164
} | 1,872 |
fileFormatVersion: 2
guid: 8d40fba955e8e4bf58ad001ef520f96c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Worm/Scripts.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Worm/Scripts.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,873 |
fileFormatVersion: 2
guid: 8eda65155b8ff4d14a3b048dae0fb21c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureSensorComponent.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureSensorComponent.cs.meta",
"repo_id": "ml-agents",
"token_count": 95
} | 1,874 |
{
"name": "Unity.ML-Agents.Extensions.Editor.Input",
"references": [
"Unity.ML-Agents",
"Unity.ML-Agents.Extensions.Input",
"Unity.ML-Agents.Editor",
"Unity.InputSystem"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": fa... | ml-agents/com.unity.ml-agents.extensions/Editor/Input/Unity.ML-Agents.Extensions.Editor.Input.asmdef/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Editor/Input/Unity.ML-Agents.Extensions.Editor.Input.asmdef",
"repo_id": "ml-agents",
"token_count": 322
} | 1,875 |
fileFormatVersion: 2
guid: f3a0fe3f0bd446958c729d6f71e8d00b
timeCreated: 1612373241 | ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/ButtonInputActionAdaptor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/ButtonInputActionAdaptor.cs.meta",
"repo_id": "ml-agents",
"token_count": 43
} | 1,876 |
fileFormatVersion: 2
guid: d4dfb5125cc2461088f18e27b6c21842
timeCreated: 1612305510 | ml-agents/com.unity.ml-agents.extensions/Runtime/Input/InputActionActuator.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/InputActionActuator.cs.meta",
"repo_id": "ml-agents",
"token_count": 40
} | 1,877 |
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Extensions.Sensors
{
/// <summary>
/// Interface for generating observations from a physical joint or constraint.
/// </summary>
public interface IJointExtractor
{
/// <summary>
/// Determine the number of observations that woul... | ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/IJointExtractor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/IJointExtractor.cs",
"repo_id": "ml-agents",
"token_count": 356
} | 1,878 |
fileFormatVersion: 2
guid: 8b9992bc4a2804deda293d0d28bbf5e0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents.extensions/Tests.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests.meta",
"repo_id": "ml-agents",
"token_count": 71
} | 1,879 |
fileFormatVersion: 2
guid: c5adebe0f22e48938e7730469f034c70
timeCreated: 1613070186 | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/InputActionActuatorTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/InputActionActuatorTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 38
} | 1,880 |
using System;
using System.Collections;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Extensions.Sensors;
using Object = UnityEngine.Object;
namespace Unity.MLAgents.Extensions.Tests.Sensors
{
public class CountingGridSe... | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/CountingGridSensorTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/CountingGridSensorTests.cs",
"repo_id": "ml-agents",
"token_count": 2670
} | 1,881 |
# see https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners for more information
* @unity/behavior-authoring
| ml-agents/com.unity.ml-agents/CODEOWNERS/0 | {
"file_path": "ml-agents/com.unity.ml-agents/CODEOWNERS",
"repo_id": "ml-agents",
"token_count": 48
} | 1,882 |
using UnityEditor;
using Unity.MLAgents.Integrations.Match3;
namespace Unity.MLAgents.Editor
{
[CustomEditor(typeof(Match3ActuatorComponent), editorForChildClasses: true)]
[CanEditMultipleObjects]
internal class Match3ActuatorComponentEditor : UnityEditor.Editor
{
public override void OnInspecto... | ml-agents/com.unity.ml-agents/Editor/Match3ActuatorComponentEditor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Editor/Match3ActuatorComponentEditor.cs",
"repo_id": "ml-agents",
"token_count": 685
} | 1,883 |
fileFormatVersion: 2
guid: 694794cb53c6c4bfc9b84ca5022f4ae2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Plugins.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins.meta",
"repo_id": "ml-agents",
"token_count": 71
} | 1,884 |
fileFormatVersion: 2
guid: ba192b1e561564e1583e0a87334f8682
folderAsset: yes
timeCreated: 1521595360
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/linux/native.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/linux/native.meta",
"repo_id": "ml-agents",
"token_count": 82
} | 1,885 |
fileFormatVersion: 2
guid: d2a19e2f43fd4637a38d42b2a5f989f3
timeCreated: 1595459316 | ml-agents/com.unity.ml-agents/Runtime/Actuators/ActuatorDiscreteActionMask.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/ActuatorDiscreteActionMask.cs.meta",
"repo_id": "ml-agents",
"token_count": 44
} | 1,886 |
fileFormatVersion: 2
guid: 88b6042bc9a5d4aa58d931eae49442e5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Agent.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Agent.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,887 |
using System;
namespace Unity.MLAgents
{
/// <summary>
/// Factory class for an ICommunicator instance. This is used to the <see cref="Academy"/> at startup.
/// By default, on desktop platforms, an ICommunicator will be created and attempt to connect
/// to a trainer. This behavior can be prevented by... | ml-agents/com.unity.ml-agents/Runtime/Communicator/CommunicatorFactory.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Communicator/CommunicatorFactory.cs",
"repo_id": "ml-agents",
"token_count": 550
} | 1,888 |
fileFormatVersion: 2
guid: af5f3b4258a2d4ead90e733f30cfaa7a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationMetaData.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationMetaData.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,889 |
fileFormatVersion: 2
guid: 80c01eada869187a68f911a90559b222
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentAction.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentAction.cs.meta",
"repo_id": "ml-agents",
"token_count": 92
} | 1,890 |
using System.Collections.Generic;
using System.Linq;
using Unity.MLAgents.Inference.Utils;
using Unity.MLAgents.Actuators;
using Unity.Sentis;
using UnityEngine;
using DeviceType = Unity.Sentis.DeviceType;
namespace Unity.MLAgents.Inference
{
/// <summary>
/// The Applier for the Continuous Action output tenso... | ml-agents/com.unity.ml-agents/Runtime/Inference/ApplierImpl.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/ApplierImpl.cs",
"repo_id": "ml-agents",
"token_count": 4361
} | 1,891 |
using System.Collections.Generic;
using Unity.Sentis;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Inference
{
/// <summary>
/// Mapping between Tensor names and generators.
/// A TensorGenerator implements a Dictionary of strings (node names) to an Action.
/// The Action take as argument the... | ml-agents/com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs",
"repo_id": "ml-agents",
"token_count": 4013
} | 1,892 |
fileFormatVersion: 2
guid: 6222defa70dc4c08aaeafd0be4e821d2
timeCreated: 1600466051 | ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/AbstractBoard.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/AbstractBoard.cs.meta",
"repo_id": "ml-agents",
"token_count": 41
} | 1,893 |
using System;
using System.Collections.Generic;
using Unity.MLAgents.Inference.Utils;
using Random = System.Random;
namespace Unity.MLAgents
{
/// <summary>
/// Takes a list of floats that encode a sampling distribution and returns the sampling function.
/// </summary>
internal static class SamplerFact... | ml-agents/com.unity.ml-agents/Runtime/Sampler.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sampler.cs",
"repo_id": "ml-agents",
"token_count": 1192
} | 1,894 |
fileFormatVersion: 2
guid: 0ddff1d1b7ad4170acb1a10272d4a8c2
timeCreated: 1616006929 | ml-agents/com.unity.ml-agents/Runtime/Sensors/CompressionSpec.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/CompressionSpec.cs.meta",
"repo_id": "ml-agents",
"token_count": 43
} | 1,895 |
fileFormatVersion: 2
guid: 914f5ab90be9e411d83642035abebc2c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Sensors/OneHotGridSensor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/OneHotGridSensor.cs.meta",
"repo_id": "ml-agents",
"token_count": 95
} | 1,896 |
namespace Unity.MLAgents.Sensors.Reflection
{
/// <summary>
/// Sensor that wraps an integer field or property of an object, and returns
/// that as an observation.
/// </summary>
internal class IntReflectionSensor : ReflectionSensorBase
{
public IntReflectionSensor(ReflectionSensorInfo ... | ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/IntReflectionSensor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/IntReflectionSensor.cs",
"repo_id": "ml-agents",
"token_count": 229
} | 1,897 |
using System;
using UnityEngine;
using UnityEngine.Serialization;
namespace Unity.MLAgents.Sensors
{
/// <summary>
/// Component that wraps a <see cref="RenderTextureSensor"/>.
/// </summary>
[AddComponentMenu("ML Agents/Render Texture Sensor", (int)MenuGroup.Sensors)]
public class RenderTextureSen... | ml-agents/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensorComponent.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensorComponent.cs",
"repo_id": "ml-agents",
"token_count": 1725
} | 1,898 |
fileFormatVersion: 2
guid: 13c87198bbd54b40a0b93308eb37933e
timeCreated: 1608337471 | ml-agents/com.unity.ml-agents/Runtime/SideChannels/TrainingAnalyticsSideChannel.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/SideChannels/TrainingAnalyticsSideChannel.cs.meta",
"repo_id": "ml-agents",
"token_count": 38
} | 1,899 |
using Unity.MLAgents.Actuators;
namespace Unity.MLAgents.Tests.Actuators
{
internal class TestActuator : IActuator
{
public ActionBuffers LastActionBuffer;
public int[][] Masks;
public bool m_HeuristicCalled;
public int m_DiscreteBufferSize;
public TestActuator(ActionSpe... | ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/TestActuator.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/TestActuator.cs",
"repo_id": "ml-agents",
"token_count": 605
} | 1,900 |
fileFormatVersion: 2
guid: 7aa28d0e370064c18bb8a913417ad21d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests/Editor/Communicator/GrpcExtensionsTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Communicator/GrpcExtensionsTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 95
} | 1,901 |
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using UnityEditor;
using Unity.Sentis;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Inference;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Policies;
namespace Unity.MLAgents.Tests
{
public class Test3DSensorComponent : SensorComponent
... | ml-agents/com.unity.ml-agents/Tests/Editor/Inference/ParameterLoaderTest.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Inference/ParameterLoaderTest.cs",
"repo_id": "ml-agents",
"token_count": 9941
} | 1,902 |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NUnit.Framework;
using System.Reflection;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Sensors;
using Unity.MLAgents.Sensors.Reflection;
using Unity.MLAgents.Policies;
using Unity.MLAgents.SideChannels;
using Unit... | ml-agents/com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs",
"repo_id": "ml-agents",
"token_count": 13529
} | 1,903 |
using System;
using NUnit.Framework;
using Unity.MLAgents.Inference.Utils;
namespace Unity.MLAgents.Tests
{
public class RandomNormalTest
{
const float k_FirstValue = -1.19580f;
const float k_SecondValue = -0.97345f;
const double k_Epsilon = 0.0001;
[Test]
public void R... | ml-agents/com.unity.ml-agents/Tests/Editor/RandomNormalTest.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/RandomNormalTest.cs",
"repo_id": "ml-agents",
"token_count": 1581
} | 1,904 |
fileFormatVersion: 2
guid: 782dd744bcb0744b8a880aa70c8c7421
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,905 |
fileFormatVersion: 2
guid: 929b34a718bc42c8aa75a3e1c8c11103
timeCreated: 1617049947 | ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/SensorUtilTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/SensorUtilTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 42
} | 1,906 |
behaviors:
3DBall:
trainer_type: ppo
hyperparameters:
batch_size: 64
buffer_size: 12000
learning_rate: 0.0003
beta: 0.001
epsilon: 0.2
lambd: 0.99
num_epoch: 3
learning_rate_schedule: linear
network_settings:
normalize: true
hidden_units: 128
... | ml-agents/config/ppo/3DBall.yaml/0 | {
"file_path": "ml-agents/config/ppo/3DBall.yaml",
"repo_id": "ml-agents",
"token_count": 269
} | 1,907 |
behaviors:
BigWallJump:
trainer_type: ppo
hyperparameters:
batch_size: 128
buffer_size: 2048
learning_rate: 0.0003
beta: 0.005
epsilon: 0.2
lambd: 0.95
num_epoch: 3
learning_rate_schedule: linear
network_settings:
normalize: false
hidden_units: 2... | ml-agents/config/ppo/WallJump.yaml/0 | {
"file_path": "ml-agents/config/ppo/WallJump.yaml",
"repo_id": "ml-agents",
"token_count": 531
} | 1,908 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.