C# Class 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)
Inheritance: MonoBehaviourEx
Show file Open project: Temaran/TemaranUnityMessenger

Public Properties

Property Type Description
target GameObject

Public Methods

Method Description
OnGUI ( ) : void

Method Details

OnGUI() public method

public OnGUI ( ) : void
return void

Property Details

target public property

public GameObject target
return GameObject