phaser-jsx
Version:
Use JSX in Phaser.
9 lines • 308 B
TypeScript
import type { GameObjectProps } from '../types';
/**
* Attaches game object ref.
*
* @param gameObject - Phaser game object.
* @param ref - Ref callback.
*/
export declare function attachRef(gameObject: Phaser.GameObjects.GameObject, ref: GameObjectProps['ref']): void;
//# sourceMappingURL=ref.d.ts.map