Пример #1
0
 /// <inheritdoc />
 protected override LevelLogicInstancePlugin GetPlugin(LevelManager level)
 {
     return(LevelRep.LevelLogicType.CreateInstancePluginForBrandNewLevel(level));
 }
Пример #2
0
 /// <inheritdoc />
 protected override LevelLogicInstancePlugin GetPlugin(LevelManager level)
 {
     //Loading saved level prototype, so i need to load it
     return(LevelRep.LevelLogicType.CreateInstancePluginForEditorLoading(level));
 }
Пример #3
0
 /// <summary>
 /// Gets instance plugin of the level logic for the <paramref name="level"/>.
 /// </summary>
 /// <param name="level">The level to get the instance plugin for.</param>
 /// <returns>Instance plugin to control the <paramref name="level"/>.</returns>
 protected abstract LevelLogicInstancePlugin GetPlugin(LevelManager level);