Getting started - Zelgunn/Unity3DTools GitHub Wiki

Getting started

Table of Contents

  1. Installation
  2. Concepts
    1. Triggers
    2. Routines
    3. Nodes

Installation

  1. If you don't already have Unity3D, you can download it here.
  2. If you don't already have a project, create one.
  3. Download this repository and put the folder called "Triggers Editor" in the Assets folder of your project.

Concepts

Before you get started, here are the key concepts of the Triggers Editor.

Triggers

A trigger is made of Events, Conditions and Actions. When one of the Events occurs, if all Conditions are met then the given Actions are performed.
For example : When the player breaks a security glass, if the alarm is on, start the alarm.
This is a short example, some triggers will use more Events/Conditions/Actions.
A trigger

Routines

A routine can either be an Event, a Condition or an Action. A routine is made of Nodes, these nodes allows you to parameter the routine. For example, if an Action moves an item, you can parameter the item and the movement. The usage of nodes gives a lot of flexibility and offers more possibilities.

Nodes

There are four types of Nodes : Events, Conditions, Actions and Others.
A routine that is an Event/Condition/Action can only ends with an Event/Condition/Action node.

Other nodes

In general, if a node cannot be used as an Event, a Condition or an Action, it is classified as "Other". Routines can't end with a node classified as "Other". Math operations, for example, are classified as "Other".