示例#1
0
    // Use this for initialization
    void Start()
    {
        var script = this.gameObject.AddComponent <A> ();

        MyExtension.GetCopyOf(script, GameObject.Find("A").GetComponent <A> ());
    }