Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Prefab Creation Confusion

Discussion in 'Community Learning & Teaching' started by codeswish, Mar 19, 2017.

  1. codeswish

    codeswish

    Joined:
    Mar 13, 2017
    Posts:
    1
    I'm following along with Catlike Coding's tutorial on Object Pools and the first step is to create a prefab from the FPS counter we made in the previous tutorial. I thought I knew how to do this, but even after looking it up in the Unity docs, I don't think I am getting it to work correctly.


    Here I've created a new prefab and have dragged FPS Panel into it. Note that only FPS Panel is within it and none of panel's children.





    Now I attempt to drag in one of it's children and I am presented with a prompt asking me if I want to replace





    Now if I replace and add a child element I get this





    These both seem markedly different and incorrect from what is presented in the tutorial




    Any ideas on what I am doing wrong or misunderstanding?