docs.unity3d.com
    Show / Hide Table of Contents

    Class Match3SensorComponent

    Sensor component for a Match3 game.

    Inheritance
    Object
    SensorComponent
    Match3SensorComponent
    Namespace: Unity.MLAgents.Integrations.Match3
    Syntax
    public class Match3SensorComponent : SensorComponent, IDisposable

    Properties

    ObservationType

    Type of observation to generate.

    Declaration
    public Match3ObservationType ObservationType { get; set; }
    Property Value
    Type Description
    Match3ObservationType

    SensorName

    Name of the generated Match3Sensor object. Note that changing this at runtime does not affect how the Agent sorts the sensors.

    Declaration
    public string SensorName { get; set; }
    Property Value
    Type Description
    String

    Methods

    CreateSensors()

    Create the ISensors. This is called by the Agent when it is initialized.

    Declaration
    public override ISensor[] CreateSensors()
    Returns
    Type Description
    ISensor[]

    Created ISensor objects.

    Overrides
    SensorComponent.CreateSensors()

    Dispose()

    Clean up the sensors created by CreateSensors().

    Declaration
    public void Dispose()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023