Files
GDevelop/GDevelop.js/types/gdeventsvariablesfinder.js
D8H 75bfa5cb45 Unify variable instructions and handle local variables (#6459)
- Global or scene variables can be used with a unique action and condition.
- Object variables can be used with a unique action and condition.
- Variables need to be declared following the same logic as the new expression syntax.
- Local variable can be declared on events
- Extensions have their own variables
- Show a diagnostic report when a preview is launched and there are missing scene variables, object variables or behaviors.
  - This is especially useful if external events are shared between several scenes.
2024-05-20 23:14:07 +02:00

9 lines
486 B
JavaScript

// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdEventsVariablesFinder {
constructor(): void;
static findAllGlobalVariables(platform: gdPlatform, project: gdProject): gdSetString;
static findAllLayoutVariables(platform: gdPlatform, project: gdProject, layout: gdLayout): gdSetString;
static findAllObjectVariables(platform: gdPlatform, project: gdProject, layout: gdLayout, objectName: string): gdSetString;
delete(): void;
ptr: number;
};