C# Класс ListObjectLocation, goalBall

This script will list the last collider that an object collided with. This is used to tell the location of an object as it enters a new trigger area.
Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
currentArea string
isMoving bool

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

Метод Описание
Awake ( ) : void
OnTriggerEnter ( Collider col ) : void

Detects when the object enters a trigger and updates the currentArea if the object is not tagged with Floor.

Start ( ) : void
Update ( ) : void

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

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

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

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

Detects when the object enters a trigger and updates the currentArea if the object is not tagged with Floor.
public OnTriggerEnter ( Collider col ) : void
col Collider
Результат void

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

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

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

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

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

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

public string currentArea
Результат string

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

public bool isMoving
Результат bool