Skip to content

mohammadroohian/PAction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAction

Unity 2019.4.7+ License: MIT

PAction is a semi-visual scripting system in unity.


A semi-visual scripting system to execute commands in sequence and flow control using functions, conditional statements, loops, etc.

Why should you use PAction?

When you want to implement simple mechanics without coding, for part of casual games, hyper casual or even part of larger projects! No coding! Do it fast and clean!

Requirements

Installation

  • First install TextMesh Pro and Post Processing packages in Unity through Package Manager.MenuItem - Window - Package Manager
  • Add TextMesh Pro sample scenes.

Perform one of the following methods:

zip file (The simple way)

  1. Download a source code zip from releases.
  2. Extract it.
  3. Copy the items in the Assets folder into the Assets folder of your project. (Click replace files if necessary)

unitypackage file

  1. Install NaughtyAttributes.
  2. Install PashmakCore.
  3. Download .unitypackage file from releases.
  4. Import it into your project.

Overview

To learn more about how these components work, check out the sample scenes. The following are a number of practical cases.

ExecuteNode

image

The ExecuteNode component is used to execute a normal command.

ExecuteNode

CallFunctionNode

image

The CallFunctionNode component is used to call a function from within another function.

CallFunctionNode

ExitFunctionNode

image

The ExitFunctionNode component is used to exit the current running function.

ExitFunctionNode

LoopNode

image

The LoopNode component is used to place a number of commands inside a loop and repeat them. The loop can be infinite as well.

LoopNode

BreakNode

image

The BreakNode component is used to exit the current loop. In nested loops, the innermost loop will break.

BreakNode

WaitForButtonNode

image

The WaitForButtonNode component is used to delay the execution of commands until a specific button is tapped.

WaitForButtonNode

WaitForKeyNode

image

The WaitForKeyNode component is used to delay the execution of commands until a specific key is pressed.

WaitForKeyNode

WaitForSecondsNode

image

The WaitForSecondsNode component is used to delay the execution of the command.

WaitForSecondsNode

WaitForCallbackNode

image

The WaitForCallbackNode component is used to delay the execution of commands until the callback is called.

WaitForCallbackNode