Reload scripts/data of an exported game and applies the changes to the running runtime game.

Constructors

Methods

  • Add the children object data into every custom object data.

    At the runtime, this is done at the object instantiation. For hot-reloading, it's done before hands to optimize.

    Parameters

    • projectData: ProjectData

      The project data

    • objectDatas: ObjectData[]

      The object datas to modify

    Returns ObjectData[]