Search Unity

How does one use EditorUtility.CloneComponent method?

Discussion in 'Scripting' started by Nevermind, Sep 14, 2012.

  1. Nevermind

    Nevermind

    Joined:
    Jun 10, 2010
    Posts:
    66
    It's supposed to let one copy a component from one object to another. However, it creates a component already attached to the same object; and there's no way to attach the returned component to anything.