Search Unity

Dynamic GameObjects and components derived from ScrollRect

Discussion in 'Scripting' started by jhorneman, Jan 28, 2015.

  1. jhorneman

    jhorneman

    Joined:
    Feb 27, 2014
    Posts:
    4
    GameObjects created in an ordinary component disappear when one leaves Play mode, which is what I would expect.

    However, GameObjects created in a component derived from ScrollRect persist when one leaves Play mode.

    Is this normal? Did I miss something in the ScrollRect documentation? Can this be affected somehow?