C# Класс FromOtherObject, TemaranUnityMessenger

The idea here is that you can target certain parts of a hierarchy to notify all of it's children of something. For example, imagine you have a hitscan weapon that just hit some poor sods arm, you can now choose to send the take damage message to all of the target (send to target.transform.root), or only to the arm and it's children (target.transform)
Наследование: MonoBehaviourEx
Показать файл Открыть проект

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

Свойство Тип Описание
target GameObject

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

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

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

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

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

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

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

public GameObject target
Результат GameObject