Logging in cocos creator
Cocos
APRIL 30, 2024
I have added a simple script to my prefab as you can see below export class MermaidController extends Component { private _startAnim: boolean = false; start() { input.on(Input.EventType.MOUSE_UP, _startAnim); } } } However, I cannot see anything in the console. I am new to CocosCreator. _startAnim); this._startAnim
Let's personalize your content