import { Behaviour, serializable, showBalloonMessage } from '@needle-tools/engine';

// Read about how to create a new component here: https://docs.needle.tools/scripting


export class $ComponentName$ extends Behaviour {

    // Example properties (those will automatically be exposed in Blender)
    @serializable()
    myString: string = "Hello World";
    @serializable()
    myFloat: number = 1;

    // Start is called when the object becomes active for the first time
    // Read more about the lifecycle here: https://docs.needle.tools/scripting#lifecycle-methods
    start() {
        console.log(this);
        showBalloonMessage(this.myString + ": " + this.myFloat);
    }
}