public void AddLinkedComponent(LinkedByGameObject asset) { m_Component.Add(new KeyValuePair <UnityClassID, PPtr <Component> >(asset.classID(), new PPtr <Component>(asset))); asset.m_GameObject = new PPtr <GameObject>(this); }