text
stringlengths
7
35.3M
id
stringlengths
11
185
metadata
dict
__index_level_0__
int64
0
2.14k
fileFormatVersion: 2 guid: c6fdbb551d80c435abe6fc911b1ea11f DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Scenes/GridWorld.unity.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Scenes/GridWorld.unity.meta", "repo_id": "ml-agents", "token_count": 64 }
1,913
fileFormatVersion: 2 guid: 3b3523d54e3214c6a90424bf3ee8c934 folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Demos.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Demos.meta", "repo_id": "ml-agents", "token_count": 72 }
1,914
fileFormatVersion: 2 guid: 919e0fed2d0f4447daf1db942cc6ffd9 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Scripts/HallwaySettings.cs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Scripts/HallwaySettings.cs.meta", "repo_id": "ml-agents", "token_count": 97 }
1,915
fileFormatVersion: 2 guid: aaa471bd5e2014848a66917476671aed PrefabImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Match3/Prefabs/Match3VisualObs.prefab.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Prefabs/Match3VisualObs.prefab.meta", "repo_id": "ml-agents", "token_count": 62 }
1,916
using Unity.MLAgents; using Unity.MLAgents.Actuators; using Unity.MLAgents.Integrations.Match3; namespace Unity.MLAgentsExamples { public class Match3ExampleActuatorComponent : Match3ActuatorComponent { /// <inheritdoc/> public override IActuator[] CreateActuators() { var bo...
ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3ExampleActuatorComponent.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3ExampleActuatorComponent.cs", "repo_id": "ml-agents", "token_count": 232 }
1,917
fileFormatVersion: 2 guid: 3d2b9d5547d934200a786212743850c4 folderAsset: yes timeCreated: 1514922259 licenseType: Free DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Prefabs.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Prefabs.meta", "repo_id": "ml-agents", "token_count": 84 }
1,918
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &1058115561937900 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 4799209171944556} - component: {fileID: 333727560...
ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Prefabs/PushBlockWithInputArea.prefab/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Prefabs/PushBlockWithInputArea.prefab", "repo_id": "ml-agents", "token_count": 15480 }
1,919
using UnityEngine; public class PushBlockWithInputSettings : MonoBehaviour { /// <summary> /// The "walking speed" of the agents in the scene. /// </summary> public float agentRunSpeed; /// <summary> /// The agent rotation speed. /// Every agent will use this setting. /// </summary> ...
ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts/PushBlockWithInputSettings.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlockWithInput/Scripts/PushBlockWithInputSettings.cs", "repo_id": "ml-agents", "token_count": 334 }
1,920
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' Shader "Custom/Outline and ScreenSpace texture" { Properties { [Header(Outline)] _OutlineVal ("Outline value", Range(0., 2.)) = 1. _OutlineCol ("Outline color", color) = (1., 1., 1., 1.) [Header(Texture)] _MainTex ("Texture...
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/ShaderOutline.shader/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/ShaderOutline.shader", "repo_id": "ml-agents", "token_count": 839 }
1,921
fileFormatVersion: 2 guid: b3f44c5319ba14b88a7cc096cfd91979 NativeFormatImporter: externalObjects: {} mainObjectFileID: 100100000 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCubeWithCamera_Purple.prefab.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCubeWithCamera_Purple.prefab.meta", "repo_id": "ml-agents", "token_count": 76 }
1,922
fileFormatVersion: 2 guid: 2c8b8cb388800475291391089d1a2351 NativeFormatImporter: externalObjects: {} mainObjectFileID: 100100000 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Logo-PlaneMesh-GRAY.prefab.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Logo-PlaneMesh-GRAY.prefab.meta", "repo_id": "ml-agents", "token_count": 75 }
1,923
%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: 1147101126618602} m_IsPrefabParent: ...
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Symbol_X.prefab/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Symbol_X.prefab", "repo_id": "ml-agents", "token_count": 2145 }
1,924
using UnityEngine; namespace Unity.MLAgentsExamples { public class DirectionIndicator : MonoBehaviour { public bool updatedByAgent; //should this be updated by the agent? If not, it will use local settings public Transform transformToFollow; //ex: hips or body public Transform targetTo...
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/DirectionIndicator.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/DirectionIndicator.cs", "repo_id": "ml-agents", "token_count": 528 }
1,925
using UnityEngine; using Unity.MLAgents; namespace Unity.MLAgentsExamples { /// <summary> /// A helper class for the ML-Agents example scenes to override various /// global settings, and restore them afterwards. /// This can modify some Physics and time-stepping properties, so you /// shouldn't cop...
ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs", "repo_id": "ml-agents", "token_count": 1260 }
1,926
fileFormatVersion: 2 guid: 4ed55169d81ee40a0a1f8be2420eba78 timeCreated: 1513650193 licenseType: Free NativeFormatImporter: externalObjects: {} mainObjectFileID: 13400000 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/Physic_Materials/NoFriction.physicMaterial.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials/Physic_Materials/NoFriction.physicMaterial.meta", "repo_id": "ml-agents", "token_count": 90 }
1,927
fileFormatVersion: 2 guid: 92c2f286041694279ba415db1e246842 folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/Walker/Materials.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Walker/Materials.meta", "repo_id": "ml-agents", "token_count": 67 }
1,928
using System; using UnityEngine; using Unity.MLAgents; using Unity.MLAgents.Actuators; using Unity.MLAgentsExamples; using Unity.MLAgents.Sensors; using BodyPart = Unity.MLAgentsExamples.BodyPart; using Random = UnityEngine.Random; public class WalkerAgent : Agent { [Header("Walk Speed")] [Range(0.1f, 10)] ...
ml-agents/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs", "repo_id": "ml-agents", "token_count": 4621 }
1,929
fileFormatVersion: 2 guid: 54ab68247b13ffe42927e8859e0e57cc NativeFormatImporter: externalObjects: {} mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant:
ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Materials/WallJumpCourtSuccess.mat.meta/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Materials/WallJumpCourtSuccess.mat.meta", "repo_id": "ml-agents", "token_count": 72 }
1,930
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!850595691 &4890085278179872738 LightingSettings: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: WallJumpSettings serializedVersion: 4 m_GIWorkflowMode: 0 m_EnableBakedLightmaps...
ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Scenes/WallJumpSettings.lighting/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/WallJump/Scenes/WallJumpSettings.lighting", "repo_id": "ml-agents", "token_count": 750 }
1,931
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &3425944858556105217 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 4000013202901713542} - component: {fileID: 382...
ml-agents/Project/Assets/ML-Agents/Examples/Worm/Prefabs/Worm.prefab/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Worm/Prefabs/Worm.prefab", "repo_id": "ml-agents", "token_count": 28154 }
1,932
%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/TestScenes/TestCompressedTexture/TestTextureCompressed.unity/0
{ "file_path": "ml-agents/Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureCompressed.unity", "repo_id": "ml-agents", "token_count": 4037 }
1,933
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1045 &1 EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_Scenes: [] m_configObjects: {}
ml-agents/Project/ProjectSettings/EditorBuildSettings.asset/0
{ "file_path": "ml-agents/Project/ProjectSettings/EditorBuildSettings.asset", "repo_id": "ml-agents", "token_count": 71 }
1,934
<jupyter_start><jupyter_text>ML-Agents Open a UnityEnvironment Setup<jupyter_code>#@title Install Rendering Dependencies { display-mode: "form" } #@markdown (You only need to run this code when using Colab's hosted runtime) import os from IPython.display import HTML, display def progress(value, max=100): return ...
ml-agents/colab/Colab_UnityEnvironment_1_Run.ipynb/0
{ "file_path": "ml-agents/colab/Colab_UnityEnvironment_1_Run.ipynb", "repo_id": "ml-agents", "token_count": 3403 }
1,935
namespace Unity.MLAgents.Extensions.Editor { }
ml-agents/com.unity.ml-agents.extensions/Editor/EditorExample.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Editor/EditorExample.cs", "repo_id": "ml-agents", "token_count": 17 }
1,936
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Unity.ML-Agents.Extensions.EditorTests")] [assembly: InternalsVisibleTo("Unity.ML-Agents.Extensions.Editor")] [assembly: InternalsVisibleTo("Unity.ML-Agents.Extensions.Tests")]
ml-agents/com.unity.ml-agents.extensions/Runtime/AssemblyInfo.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/AssemblyInfo.cs", "repo_id": "ml-agents", "token_count": 83 }
1,937
#if MLA_INPUT_SYSTEM using UnityEngine.InputSystem; namespace Unity.MLAgents.Extensions.Input { /// <summary> /// Implement this interface if you are listening to C# events from the generated C# class from the /// <see cref="InputActionAsset"/>. This interface works with the <see cref="InputActuatorCompone...
ml-agents/com.unity.ml-agents.extensions/Runtime/Input/IInputActionAssetProvider.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/IInputActionAssetProvider.cs", "repo_id": "ml-agents", "token_count": 475 }
1,938
fileFormatVersion: 2 guid: 11fe037a02b4a483cb9342c3454232cd MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/ArticulationBodyPoseExtractor.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/ArticulationBodyPoseExtractor.cs.meta", "repo_id": "ml-agents", "token_count": 93 }
1,939
fileFormatVersion: 2 guid: 867cab4a07f244518bae3e6fdda14416 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/RigidBodyPoseExtractor.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/RigidBodyPoseExtractor.cs.meta", "repo_id": "ml-agents", "token_count": 96 }
1,940
#if MLA_INPUT_TESTS using NUnit.Framework; using Unity.MLAgents.Actuators; using Unity.MLAgents.Extensions.Input; using UnityEngine.InputSystem; namespace Unity.MLAgents.Extensions.Tests.Runtime.Input { public class IntegerInputActionAdaptorTests : InputTestFixture { IntegerInputActionAdaptor m_Adaptor...
ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/IntegerInputActionAdaptorTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/IntegerInputActionAdaptorTests.cs", "repo_id": "ml-agents", "token_count": 1402 }
1,941
fileFormatVersion: 2 guid: a12a065df9b6f44d0b9a8e85d08d1cef TextScriptImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents.extensions/package.json.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents.extensions/package.json.meta", "repo_id": "ml-agents", "token_count": 71 }
1,942
using UnityEngine; using UnityEditor; using Unity.MLAgents.Policies; namespace Unity.MLAgents.Editor { /// <summary> /// PropertyDrawer for BrainParameters. Defines how BrainParameters are displayed in the /// Inspector. /// </summary> [CustomPropertyDrawer(typeof(BrainParameters))] internal cl...
ml-agents/com.unity.ml-agents/Editor/BrainParametersDrawer.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Editor/BrainParametersDrawer.cs", "repo_id": "ml-agents", "token_count": 3042 }
1,943
fileFormatVersion: 2 guid: b20b0226063034686a6cf92ade284285 NativeFormatImporter: externalObjects: {} mainObjectFileID: 0 userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Editor/UnityColors.colors.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Editor/UnityColors.colors.meta", "repo_id": "ml-agents", "token_count": 69 }
1,944
fileFormatVersion: 2 guid: 9502ce7e38c5947dba996570732b6e9f PluginImporter: externalObjects: {} serializedVersion: 2 iconMap: {} executionOrder: {} defineConstraints: [] isPreloaded: 0 isOverridable: 0 isExplicitlyReferenced: 1 validateReferences: 1 platformData: - first: Any: second: ...
ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/System.Interactive.Async.dll.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/System.Interactive.Async.dll.meta", "repo_id": "ml-agents", "token_count": 270 }
1,945
using System; using System.Linq; using UnityEngine; namespace Unity.MLAgents.Actuators { /// <summary> /// Defines the structure of the actions to be used by the Actuator system. /// </summary> [Serializable] public struct ActionSpec { [SerializeField] int m_NumContinuousActions...
ml-agents/com.unity.ml-agents/Runtime/Actuators/ActionSpec.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/ActionSpec.cs", "repo_id": "ml-agents", "token_count": 2334 }
1,946
namespace Unity.MLAgents.Actuators { /// <summary> /// Interface that allows objects to fill out an <see cref="ActionBuffers"/> data structure for controlling /// behavior of Agents or Actuators. /// </summary> public interface IHeuristicProvider { /// <summary> /// Method called...
ml-agents/com.unity.ml-agents/Runtime/Actuators/IHeuristicProvider.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/IHeuristicProvider.cs", "repo_id": "ml-agents", "token_count": 268 }
1,947
using System; using Unity.Mathematics; using UnityEngine; namespace Unity.MLAgents.Areas { /// <summary> /// The Training Ares Replicator allows for a training area object group to be replicated dynamically during runtime. /// </summary> [DefaultExecutionOrder(-5)] public class TrainingAreaReplicat...
ml-agents/com.unity.ml-agents/Runtime/Areas/TrainingAreaReplicator.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Areas/TrainingAreaReplicator.cs", "repo_id": "ml-agents", "token_count": 2080 }
1,948
fileFormatVersion: 2 guid: 0622d88401ec464d9d2cf2fb03ce17b5 timeCreated: 1579215785
ml-agents/com.unity.ml-agents/Runtime/Constants.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Constants.cs.meta", "repo_id": "ml-agents", "token_count": 39 }
1,949
fileFormatVersion: 2 guid: 418327e202c7464bb6649d025df1b539 timeCreated: 1569444731
ml-agents/com.unity.ml-agents/Runtime/Grpc.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc.meta", "repo_id": "ml-agents", "token_count": 39 }
1,950
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: mlagents_envs/communicator_objects/custom_reset_parameters.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Googl...
ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs", "repo_id": "ml-agents", "token_count": 2059 }
1,951
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: mlagents_envs/communicator_objects/unity_message.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf...
ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs", "repo_id": "ml-agents", "token_count": 4200 }
1,952
{ "name": "Unity.ML-Agents.CommunicatorObjects", "rootNamespace": "", "references": [], "includePlatforms": [], "excludePlatforms": [], "allowUnsafeCode": false, "overrideReferences": false, "precompiledReferences": [ "System.IO.Abstractions.dll", "Google.Protobuf.dll", ...
ml-agents/com.unity.ml-agents/Runtime/Grpc/Unity.ML-Agents.CommunicatorObjects.asmdef/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/Unity.ML-Agents.CommunicatorObjects.asmdef", "repo_id": "ml-agents", "token_count": 203 }
1,953
fileFormatVersion: 2 guid: 6f1b600613ec4960b40f8b4b8bc1f713 timeCreated: 1680984637
ml-agents/com.unity.ml-agents/Runtime/Inference/SymbolicTensorShapeExtensions.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/SymbolicTensorShapeExtensions.cs.meta", "repo_id": "ml-agents", "token_count": 39 }
1,954
using System; using System.Collections.Generic; namespace Unity.MLAgents { /// <summary> /// An array-like object that stores up to four elements. /// This is a value type that does not allocate any additional memory. /// </summary> /// <remarks> /// This does not implement any interfaces such ...
ml-agents/com.unity.ml-agents/Runtime/InplaceArray.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/InplaceArray.cs", "repo_id": "ml-agents", "token_count": 4220 }
1,955
using UnityEngine; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Unity.ML-Agents.DevTests.Editor")] namespace Unity.MLAgents { internal class MLAgentsSettings : ScriptableObject { [SerializeField] private bool m_ConnectTrainer = true; [SerializeField] pr...
ml-agents/com.unity.ml-agents/Runtime/MLAgentsSettings.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/MLAgentsSettings.cs", "repo_id": "ml-agents", "token_count": 485 }
1,956
using System; using UnityEngine; using UnityEngine.Rendering; namespace Unity.MLAgents.Sensors { /// <summary> /// A sensor that wraps a Camera object to generate visual observations for an agent. /// </summary> public class CameraSensor : ISensor, IBuiltInSensor, IDisposable { Camera m_Cam...
ml-agents/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs", "repo_id": "ml-agents", "token_count": 2868 }
1,957
namespace Unity.MLAgents.Sensors { /// <summary> /// A description of the observations that an ISensor produces. /// This includes the size of the observation, the properties of each dimension, and how the observation /// should be used for training. /// </summary> public struct ObservationSpec ...
ml-agents/com.unity.ml-agents/Runtime/Sensors/ObservationSpec.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/ObservationSpec.cs", "repo_id": "ml-agents", "token_count": 2149 }
1,958
fileFormatVersion: 2 guid: be795c90750a6420d93f569b69ddc1ba MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/BoolReflectionSensor.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/BoolReflectionSensor.cs.meta", "repo_id": "ml-agents", "token_count": 95 }
1,959
fileFormatVersion: 2 guid: e756976ec2a0943cfbc0f97a6550a85b MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/Vector3ReflectionSensor.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/Vector3ReflectionSensor.cs.meta", "repo_id": "ml-agents", "token_count": 95 }
1,960
fileFormatVersion: 2 guid: 38b7cc1f5819445aa85e9a9b054552dc MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Runtime/Sensors/VectorSensorComponent.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/VectorSensorComponent.cs.meta", "repo_id": "ml-agents", "token_count": 95 }
1,961
using System; using System.Collections.Generic; using UnityEngine; using System.IO; namespace Unity.MLAgents.SideChannels { /// <summary> /// Collection of static utilities for managing the registering/unregistering of /// <see cref="SideChannels"/> and the sending/receiving of messages for all the channel...
ml-agents/com.unity.ml-agents/Runtime/SideChannels/SideChannelManager.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/SideChannels/SideChannelManager.cs", "repo_id": "ml-agents", "token_count": 4867 }
1,962
using System; using System.Diagnostics; using UnityEngine; namespace Unity.MLAgents { internal static class Utilities { /// <summary> /// Calculates the cumulative sum of an integer array. The result array will be one element /// larger than the input array since it has a padded 0 at th...
ml-agents/com.unity.ml-agents/Runtime/Utilities.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Runtime/Utilities.cs", "repo_id": "ml-agents", "token_count": 928 }
1,963
fileFormatVersion: 2 guid: 99d76ec04c944b75bc6b85abfff4ac4e timeCreated: 1613680505
ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/ActionSpecTests.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Actuators/ActionSpecTests.cs.meta", "repo_id": "ml-agents", "token_count": 40 }
1,964
fileFormatVersion: 2 guid: be419f7ed5c24b24a6f2636d3b107535 timeCreated: 1537915674
ml-agents/com.unity.ml-agents/Tests/Editor/Inference/EditModeTestInternalBrainTensorApplier.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Inference/EditModeTestInternalBrainTensorApplier.cs.meta", "repo_id": "ml-agents", "token_count": 41 }
1,965
fileFormatVersion: 2 guid: 2edf24df24ac426085cb31a94d063683 timeCreated: 1603392289
ml-agents/com.unity.ml-agents/Tests/Editor/Integrations/Match3/Match3ActuatorTests.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Integrations/Match3/Match3ActuatorTests.cs.meta", "repo_id": "ml-agents", "token_count": 38 }
1,966
fileFormatVersion: 2 guid: f5aa894d83ebc411581c8475cd2f9ae0 folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
ml-agents/com.unity.ml-agents/Tests/Editor/PublicAPI.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/PublicAPI.meta", "repo_id": "ml-agents", "token_count": 70 }
1,967
fileFormatVersion: 2 guid: 71aa620295f74ca5875e8e4782f08768 timeCreated: 1610760906
ml-agents/com.unity.ml-agents/Tests/Editor/SideChannels/EngineConfigurationChannelTests.cs.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/SideChannels/EngineConfigurationChannelTests.cs.meta", "repo_id": "ml-agents", "token_count": 37 }
1,968
using NUnit.Framework; namespace Unity.MLAgents.Tests { public class UtilitiesTests { [Test] public void TestCumSum() { var output = Utilities.CumSum(new[] { 1, 2, 3, 10 }); CollectionAssert.AreEqual(output, new[] { 0, 1, 3, 6, 16 }); output = Utilit...
ml-agents/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs", "repo_id": "ml-agents", "token_count": 320 }
1,969
using NUnit.Framework; using Unity.MLAgents.Sensors; namespace Unity.MLAgents.Tests { public class Float2DSensor : ISensor { public int Width { get; } public int Height { get; } string m_Name; private ObservationSpec m_ObservationSpec; public float[,] floatData; ...
ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/FloatVisualSensorTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/FloatVisualSensorTests.cs", "repo_id": "ml-agents", "token_count": 1541 }
1,970
using System.Collections.Generic; using System.Text.RegularExpressions; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using Unity.MLAgents.Sensors; namespace Unity.MLAgents.Tests { public class DummySensor : ISensor { string m_Name = "DummySensor"; ObservationSpec m_Obs...
ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/SensorShapeValidatorTests.cs/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/SensorShapeValidatorTests.cs", "repo_id": "ml-agents", "token_count": 2480 }
1,971
fileFormatVersion: 2 guid: e4c1564ff83a4d51855e5b5b461f6a59 timeCreated: 1616137685
ml-agents/com.unity.ml-agents/Tests/Runtime/Utils.meta/0
{ "file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Utils.meta", "repo_id": "ml-agents", "token_count": 42 }
1,972
behaviors: Pyramids: trainer_type: ppo time_horizon: 128 max_steps: 1.0e7 hyperparameters: batch_size: 128 beta: 0.01 buffer_size: 2048 epsilon: 0.2 lambd: 0.95 learning_rate: 0.0003 num_epoch: 3 network_settings: num_layers: 2 normalize: false...
ml-agents/config/imitation/Pyramids.yaml/0
{ "file_path": "ml-agents/config/imitation/Pyramids.yaml", "repo_id": "ml-agents", "token_count": 419 }
1,973
behaviors: Pyramids: trainer_type: ppo hyperparameters: batch_size: 128 buffer_size: 2048 learning_rate: 0.0003 beta: 0.01 epsilon: 0.2 lambd: 0.95 num_epoch: 3 learning_rate_schedule: linear network_settings: normalize: false hidden_units: 512 ...
ml-agents/config/ppo/PyramidsRND.yaml/0
{ "file_path": "ml-agents/config/ppo/PyramidsRND.yaml", "repo_id": "ml-agents", "token_count": 360 }
1,974
behaviors: Pyramids: trainer_type: sac hyperparameters: learning_rate: 0.0003 learning_rate_schedule: constant batch_size: 128 buffer_size: 2000000 buffer_init_steps: 1000 tau: 0.01 steps_per_update: 10.0 save_replay_buffer: false init_entcoef: 0.01 ...
ml-agents/config/sac/Pyramids.yaml/0
{ "file_path": "ml-agents/config/sac/Pyramids.yaml", "repo_id": "ml-agents", "token_count": 423 }
1,975
# The Hugging Face Integration The [Hugging Face Hub 🤗](https://huggingface.co/models?pipeline_tag=reinforcement-learning) is a central place **where anyone can share and download models**. It allows you to: - **Host** your trained models. - **Download** trained models from the community. - Visualize your agents **p...
ml-agents/docs/Hugging-Face-Integration.md/0
{ "file_path": "ml-agents/docs/Hugging-Face-Integration.md", "repo_id": "ml-agents", "token_count": 770 }
1,976
# Upgrading # Migrating <!--- TODO: update ml-agents-env package version before release ---> ## Migrating to the ml-agents-envs 0.30.0 package - Python 3.10.12 is now the minimum version of python supported due to [python3.6 EOL](https://endoflife.date/python). Please update your python installation to 3.10.12 or hi...
ml-agents/docs/Migrating.md/0
{ "file_path": "ml-agents/docs/Migrating.md", "repo_id": "ml-agents", "token_count": 12908 }
1,977
# Customizing Training via Plugins ML-Agents provides support for running your own python implementations of specific interfaces during the training process. These interfaces are currently fairly limited, but will be expanded in the future. **Note:** Plugin interfaces should currently be considered "in beta", and the...
ml-agents/docs/Training-Plugins.md/0
{ "file_path": "ml-agents/docs/Training-Plugins.md", "repo_id": "ml-agents", "token_count": 818 }
1,978
<img src="docs/images/unity-wide.png" align="middle" width="3000"/> # Unity ML-Agents 工具包(Beta) v0.3.1 **注意:** 本文档为v0.3版本文档的部分翻译版,目前并不会随着英文版文档更新而更新。若要查看更新更全的英文版文档,请查看[这里](https://github.com/Unity-Technologies/ml-agents)。 **Unity Machine Learning Agents** (ML-Agents) 是一款开源的 Unity 插件, 使得我们得以在游戏环境和模拟环境中训练智能 agent。您可以使用...
ml-agents/localized_docs/zh-CN/README.md/0
{ "file_path": "ml-agents/localized_docs/zh-CN/README.md", "repo_id": "ml-agents", "token_count": 2696 }
1,979
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: mlagents_envs/communicator_objects/agent_info_action_pair.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _messag...
ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.py/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.py", "repo_id": "ml-agents", "token_count": 1443 }
1,980
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: mlagents_envs/communicator_objects/header.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pr...
ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.py/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.py", "repo_id": "ml-agents", "token_count": 1029 }
1,981
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: mlagents_envs/communicator_objects/unity_rl_initialization_output.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as...
ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.py/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.py", "repo_id": "ml-agents", "token_count": 2256 }
1,982
from typing import Optional, Dict, Any, Tuple from gym import error from mlagents_envs.base_env import BaseEnv from pettingzoo import ParallelEnv from mlagents_envs.envs.unity_pettingzoo_base_env import UnityPettingzooBaseEnv class UnityParallelEnv(UnityPettingzooBaseEnv, ParallelEnv): """ Unity Parallel (Pe...
ml-agents/ml-agents-envs/mlagents_envs/envs/unity_parallel_env.py/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/envs/unity_parallel_env.py", "repo_id": "ml-agents", "token_count": 641 }
1,983
from mlagents_envs.side_channel import SideChannel, IncomingMessage, OutgoingMessage import uuid from typing import Dict, Optional, List class FloatPropertiesChannel(SideChannel): """ This is the SideChannel for float properties shared with Unity. You can modify the float properties of an environment with...
ml-agents/ml-agents-envs/mlagents_envs/side_channel/float_properties_channel.py/0
{ "file_path": "ml-agents/ml-agents-envs/mlagents_envs/side_channel/float_properties_channel.py", "repo_id": "ml-agents", "token_count": 860 }
1,984
import os from pathlib import Path import pytest from mlagents_envs.registry import default_registry, UnityEnvRegistry from mlagents_envs.registry.remote_registry_entry import RemoteRegistryEntry BASIC_ID = "Basic" def create_registry(tmp_dir: str) -> UnityEnvRegistry: reg = UnityEnvRegistry() entry = Remo...
ml-agents/ml-agents-envs/tests/test_registry.py/0
{ "file_path": "ml-agents/ml-agents-envs/tests/test_registry.py", "repo_id": "ml-agents", "token_count": 545 }
1,985
from typing import Dict, cast import attr from mlagents.torch_utils import torch, default_device from mlagents.trainers.buffer import AgentBuffer, BufferKey, RewardSignalUtil from mlagents_envs.timers import timed from mlagents.trainers.policy.torch_policy import TorchPolicy from mlagents.trainers.optimizer.torch_op...
ml-agents/ml-agents-trainer-plugin/mlagents_trainer_plugin/a2c/a2c_optimizer.py/0
{ "file_path": "ml-agents/ml-agents-trainer-plugin/mlagents_trainer_plugin/a2c/a2c_optimizer.py", "repo_id": "ml-agents", "token_count": 3079 }
1,986
# Version of the library that will be used to upload to pypi __version__ = "1.1.0.dev0" # Git tag that will be checked to determine whether to trigger upload to pypi __release_tag__ = None
ml-agents/ml-agents/mlagents/trainers/__init__.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/__init__.py", "repo_id": "ml-agents", "token_count": 58 }
1,987
# # Unity ML-Agents Toolkit import abc from typing import Any, Tuple, List class BaseModelSaver(abc.ABC): """This class is the base class for the ModelSaver""" def __init__(self): pass @abc.abstractmethod def register(self, module: Any) -> None: """ Register the modules to th...
ml-agents/ml-agents/mlagents/trainers/model_saver/model_saver.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/model_saver/model_saver.py", "repo_id": "ml-agents", "token_count": 952 }
1,988
import yaml import pytest from mlagents.trainers.upgrade_config import convert_behaviors, remove_nones, convert from mlagents.trainers.settings import RewardSignalType from mlagents.trainers.ppo.trainer import PPOSettings, TRAINER_NAME as PPO_TRAINER_NAME from mlagents.trainers.sac.trainer import SACSettings, TRAINER_...
ml-agents/ml-agents/mlagents/trainers/tests/test_config_conversion.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/tests/test_config_conversion.py", "repo_id": "ml-agents", "token_count": 3036 }
1,989
import yaml from mlagents.trainers.settings import RunOptions from mlagents.trainers.training_analytics_side_channel import ( TrainingAnalyticsSideChannel, ) test_curriculum_config_yaml = """ environment_parameters: param_1: curriculum: - name: Lesson1 completion_criteria: ...
ml-agents/ml-agents/mlagents/trainers/tests/test_training_analytics_side_channel.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/tests/test_training_analytics_side_channel.py", "repo_id": "ml-agents", "token_count": 751 }
1,990
import pytest import numpy as np from mlagents.trainers.ghost.trainer import GhostTrainer from mlagents.trainers.ghost.controller import GhostController from mlagents.trainers.behavior_id_utils import BehaviorIdentifiers from mlagents.trainers.ppo.trainer import PPOTrainer from mlagents.trainers.agent_processor impor...
ml-agents/ml-agents/mlagents/trainers/tests/torch_entities/test_ghost.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/tests/torch_entities/test_ghost.py", "repo_id": "ml-agents", "token_count": 3236 }
1,991
from mlagents.torch_utils import torch from typing import List import math from mlagents.trainers.torch_entities.layers import ( linear_layer, Swish, Initialization, LayerNorm, ) class ConditionalEncoder(torch.nn.Module): def __init__( self, input_size: int, goal_size: int...
ml-agents/ml-agents/mlagents/trainers/torch_entities/conditioning.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/torch_entities/conditioning.py", "repo_id": "ml-agents", "token_count": 2272 }
1,992
import copy import json import hmac import hashlib import sys from typing import Optional, Dict import mlagents_envs import mlagents.trainers from mlagents import torch_utils from mlagents.trainers.settings import RewardSignalType from mlagents_envs.exception import UnityCommunicationException from mlagents_envs.side_c...
ml-agents/ml-agents/mlagents/trainers/training_analytics_side_channel.py/0
{ "file_path": "ml-agents/ml-agents/mlagents/trainers/training_analytics_side_channel.py", "repo_id": "ml-agents", "token_count": 3655 }
1,993
import argparse from .yamato_utils import init_venv def main(): parser = argparse.ArgumentParser() parser.add_argument("--mlagents-version", default=None) parser.add_argument("--extra-packages", default=None) args = parser.parse_args() extra_packages = [] if args.extra_packages is not None: ...
ml-agents/ml-agents/tests/yamato/setup_venv.py/0
{ "file_path": "ml-agents/ml-agents/tests/yamato/setup_venv.py", "repo_id": "ml-agents", "token_count": 193 }
1,994
syntax = "proto3"; option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message HeaderProto { int32 status = 1; string message = 2; }
ml-agents/protobuf-definitions/proto/mlagents_envs/communicator_objects/header.proto/0
{ "file_path": "ml-agents/protobuf-definitions/proto/mlagents_envs/communicator_objects/header.proto", "repo_id": "ml-agents", "token_count": 61 }
1,995
fileFormatVersion: 2 guid: 079ea0ed741ff194a80cce029630b5ac folderAsset: yes DefaultImporter: userData: assetBundleName: assetBundleVariant:
xLua/Assets/Plugins/Android/libs/x86.meta/0
{ "file_path": "xLua/Assets/Plugins/Android/libs/x86.meta", "repo_id": "xLua", "token_count": 62 }
1,996
fileFormatVersion: 2 guid: 92f9773841d5ffd44b794b9b584a5c05 timeCreated: 1504062948 licenseType: Pro PluginImporter: serializedVersion: 2 iconMap: {} executionOrder: {} isPreloaded: 0 isOverridable: 0 platformData: data: first: Any: second: enabled: 0 settings: {} ...
xLua/Assets/Plugins/WebGL/xlua_webgl.cpp.meta/0
{ "file_path": "xLua/Assets/Plugins/WebGL/xlua_webgl.cpp.meta", "repo_id": "xLua", "token_count": 348 }
1,997
fileFormatVersion: 2 guid: afd3fcbd8a9d48945b874adff2c0aa6d folderAsset: yes DefaultImporter: userData:
xLua/Assets/XLua/Examples/02_U3DScripting.meta/0
{ "file_path": "xLua/Assets/XLua/Examples/02_U3DScripting.meta", "repo_id": "xLua", "token_count": 48 }
1,998
fileFormatVersion: 2 guid: 554d570d8b369434ba8a099ebafee542 timeCreated: 1478591886 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
xLua/Assets/XLua/Examples/04_LuaObjectOrented/InvokeLua.unity.meta/0
{ "file_path": "xLua/Assets/XLua/Examples/04_LuaObjectOrented/InvokeLua.unity.meta", "repo_id": "xLua", "token_count": 72 }
1,999
using System; using UnityEditor; using UnityEngine; using CSObjectWrapEditor; using XLua; namespace XLuaTest { public static class BuildFromCLI { /// <summary> /// 此方法通过Unity菜单调用。 /// </summary> [MenuItem("XLua/Examples/13_BuildFromCLI")] public static void BuildFromUni...
xLua/Assets/XLua/Examples/13_BuildFromCLI/Editor/BuildFromCLI.cs/0
{ "file_path": "xLua/Assets/XLua/Examples/13_BuildFromCLI/Editor/BuildFromCLI.cs", "repo_id": "xLua", "token_count": 728 }
2,000
fileFormatVersion: 2 guid: 5fa8c6bd6daed854c98654418f48a830 timeCreated: 1482482561 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: - Template: {fileID: 4900000, guid: 384feb229d259f549bbbac9e910b782b, type: 3} executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: a...
xLua/Assets/XLua/Src/Editor/LinkXmlGen/LinkXmlGen.cs.meta/0
{ "file_path": "xLua/Assets/XLua/Src/Editor/LinkXmlGen/LinkXmlGen.cs.meta", "repo_id": "xLua", "token_count": 136 }
2,001
/* * Tencent is pleased to support the open source community by making xLua available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
xLua/Assets/XLua/Src/GenAttributes.cs/0
{ "file_path": "xLua/Assets/XLua/Src/GenAttributes.cs", "repo_id": "xLua", "token_count": 2122 }
2,002
/* * Tencent is pleased to support the open source community by making xLua available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
xLua/Assets/XLua/Src/LuaTable.cs/0
{ "file_path": "xLua/Assets/XLua/Src/LuaTable.cs", "repo_id": "xLua", "token_count": 6594 }
2,003
/* * Tencent is pleased to support the open source community by making xLua available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
xLua/Assets/XLua/Src/StaticLuaCallbacks.cs/0
{ "file_path": "xLua/Assets/XLua/Src/StaticLuaCallbacks.cs", "repo_id": "xLua", "token_count": 26159 }
2,004
using System; using System.Linq; using System.Collections.Generic; using System.IO; using System.Reflection; namespace XLua { public class XLuaHotfixInject { public static void Useage() { Console.WriteLine("XLuaHotfixInject assmbly_path id_map_file_path [cfg_assmbly2_path] [search_p...
xLua/General/Src/XLuaHotfixInject.cs/0
{ "file_path": "xLua/General/Src/XLuaHotfixInject.cs", "repo_id": "xLua", "token_count": 1732 }
2,005
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft...
xLua/General/vs2013/XLuaUnitTestGenCode.csproj/0
{ "file_path": "xLua/General/vs2013/XLuaUnitTestGenCode.csproj", "repo_id": "xLua", "token_count": 6091 }
2,006
fileFormatVersion: 2 guid: 1f134b58b34a7854ea895e518b4ffb9c timeCreated: 1483528414 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
xLua/Test/UnitTest/StreamingAssets/csCallLua.lua.meta/0
{ "file_path": "xLua/Test/UnitTest/StreamingAssets/csCallLua.lua.meta", "repo_id": "xLua", "token_count": 72 }
2,007
require("luaCallCs") require("luaCallCsReflect") require("csCallLua") require("genCode") --require("luaTdrTest") function islua53() return not not math.type end -- for test case CMyTestEnv = TestEnvironment:new() function CMyTestEnv:new(oo) local o = oo or {} setmetatable(o, self) self.__index = self ...
xLua/Test/UnitTest/StreamingAssets/main.lua/0
{ "file_path": "xLua/Test/UnitTest/StreamingAssets/main.lua", "repo_id": "xLua", "token_count": 882 }
2,008
fileFormatVersion: 2 guid: 04eee5a18722aca49bfb2fb28416ede1 folderAsset: yes timeCreated: 1483527547 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
xLua/Test/UnitTest/xLuaTest/CSharpCallLua/Resources.meta/0
{ "file_path": "xLua/Test/UnitTest/xLuaTest/CSharpCallLua/Resources.meta", "repo_id": "xLua", "token_count": 73 }
2,009
fileFormatVersion: 2 guid: cba25057ebcf1d54c9ad49fde9b6e62d timeCreated: 1483527551 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
xLua/Test/UnitTest/xLuaTest/CSharpCallLua/TestCSCallLua.cs.meta/0
{ "file_path": "xLua/Test/UnitTest/xLuaTest/CSharpCallLua/TestCSCallLua.cs.meta", "repo_id": "xLua", "token_count": 102 }
2,010
fileFormatVersion: 2 guid: 568886381954c3b408d0b9ace77f3af3 timeCreated: 1483527551 licenseType: Pro TextScriptImporter: userData: assetBundleName: assetBundleVariant:
xLua/Test/UnitTest/xLuaTest/Resources/non_tlv_net_msg_type.xml.meta/0
{ "file_path": "xLua/Test/UnitTest/xLuaTest/Resources/non_tlv_net_msg_type.xml.meta", "repo_id": "xLua", "token_count": 72 }
2,011
/* ** $Id: luac.c,v 1.75 2015/03/12 01:58:27 lhf Exp $ ** Lua compiler (saves bytecodes to files; also lists bytecodes) ** See Copyright Notice in lua.h */ #define luac_c #define LUA_CORE #include "lprefix.h" #include <ctype.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "...
xLua/WebGLPlugins/luac.c/0
{ "file_path": "xLua/WebGLPlugins/luac.c", "repo_id": "xLua", "token_count": 4811 }
2,012