C# Класс PushBlockAcademy, UnityMLAgent

Наследование: Academy
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
agentRotationSpeed float
agentRunSpeed float
failMaterial Material,
goalScoredMaterial Material,
gravityMultiplier float
spawnAreaMarginMultiplier float

Открытые методы

Метод Описание
State ( ) : void

Описание методов

State() публичный Метод

public State ( ) : void
Результат void

Описание свойств

agentRotationSpeed публичное свойство

The agent rotation speed. Every agent will use this setting.
public float agentRotationSpeed
Результат float

agentRunSpeed публичное свойство

The "walking speed" of the agents in the scene.
public float agentRunSpeed
Результат float

failMaterial публичное свойство

When an agent fails, the ground will turn this material for a few seconds.
public Material, failMaterial
Результат Material,

goalScoredMaterial публичное свойство

When a goal is scored the ground will switch to this material for a few seconds.
public Material, goalScoredMaterial
Результат Material,

gravityMultiplier публичное свойство

The gravity multiplier. Use ~3 to make things less floaty
public float gravityMultiplier
Результат float

spawnAreaMarginMultiplier публичное свойство

The spawn area margin multiplier. ex: .9 means 90% of spawn area will be used. .1 margin will be left (so players don't spawn off of the edge). The higher this value, the longer training time required.
public float spawnAreaMarginMultiplier
Результат float