Skip to content

danbaoren/PrefabManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrefabManager [Rogue Engine]

Place prefabs into runtime scene and save its transforms, load dynamicaly with render distance per-prefab using octree.

Use cases:

  • Placing Dungeons on open world map [10.000 render distance]

  • Decorating local area [1000 render distance]

  • Quick foliage population/brushing [not implemented yet]


Installation

  1. Copy Asset folder into your game project directory (e.g RogueProjects/YourGame/)

  2. Put prefab into scene from Assets/PrefabManager/PrefabManager.prefab


Workflow

Toggle "Editor_Mode" for editing or production cases. Editor Mode spawns custom camera, controllers and UI.

PrefabManager can only see and interact with prefabs that loaded using PManager.

It doesnt change prefabs placed manually.

You can specify render distance per-prefab, and you can add object3d names that will act as anchor from which distance will be calculated (e.g "ThirdPersonCharacter" for player avatars) 

PMgif

PMgif

About

Runtime Prefab placing, editing, loading

Topics

Resources

Stars

Watchers

Forks