Team Wilson Docs
  • PPG 3D
    • API
      • Main3D Function
      • Register
      • Action Events
      • Modify Property
      • Run Method
      • Add 3D Component
      • New Voxel Item
      • Categories
    • Voxels
      • Creating Your Own Voxel Model
      • Models
    • Snippets
      • Lean Monster Addon
    • Resources
  • RageBox
  • Character Creator
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. PPG 3D
  2. API

Action Events

In the process of creating action events in People Playground, it is important to note that these events are generated prior to any registration being performed. Additionally, to simplify the implementation, the action events are stored in variables. When creating the action event, a generic type, specifically "GameObject," is utilized.

Example:

Action<GameObject> act = (Instance) =>
{
    Debug.Log("My object is called " + Instance.name + "!");
};
PreviousRegisterNextModify Property

Last updated 1 year ago

Was this helpful?