LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[IDEA] Prefabs and toys manager

Open Supper-Steve opened this issue 1 year ago • 2 comments

we need prefabs and toys manager to spawn some prefabs for example:

  • enum PrefabType : uint

  • enum AdminToyType

  • static class PrefabManager:

    • static GameObject Spawn(PrefabType type,Vector3 pos,Vector3 rotation);
    • static GameObject Create(PrefabType type);
  • static class AdminToyManager:

    • static GameObject Spawn(AdminToyType type,Vector3 pos,Vector3 rotation,out AdminToyBase toybase);
    • static GameObject Create(AdminToyType type,out AdminToyBase toybase);

Supper-Steve avatar Mar 30 '25 13:03 Supper-Steve

PrefabManager and AdminToyManager should not need to be seperate (They are all prefabs and should all be treated as such)

obvEve avatar Apr 12 '25 21:04 obvEve

We've reopened this suggestion to prevent confusion and duplicate posts. The issue has been added to our internal tracker, but that does not guarantee acceptance nor implementation.

Axwabo avatar Apr 27 '26 16:04 Axwabo