Profectus / data/projEntry / getInitialLayers
Function: getInitialLayers() ​
getInitialLayers(
player
):Layer
[]
Given a player save data object being loaded, return a list of layers that should currently be enabled. If your project does not use dynamic layers, this should just return all layers.
Parameters ​
player ​
Returns ​
Layer
[]