Unity3D and Fungus Tutorial: PickUps

Anonymous
89.4K views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Flowchart Communication

Two Flowchart in a scene are independent, so how can make them communicate? In particular, we need to let the MainFlowchart know that a coin has been picked up, an event that at the moment is known only by the coin Flowchart.

Using Messages

The quickest way to communicate between _Flowchart_s is the Send Flowchart command, that sends a message that can be listened by the same Flowcart or by another one.

In our game, when a coin will be picked up, the corresponding Flowchart will send a message that will be intercepted by the MainFlowchart, that will store points gained.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content