跳到主要内容

on_entity_enter

实体进入场景时的回调

声明

void on_entity_enter(int entity_id, array other_entities)

参数

参数名描述
entity_id实体id
other_entities能看见的周围其他实体对象列表

返回值

void

使用方式

返回文档