public void Cmp_CopyFromReference(MonoBehaviour reference) { if (reference == null) { Debug.LogError("[" + name + ".Cmp_CopyFromReferenceDeep]: Reference is null"); return; } TargetGameObject.CopyComponent(reference); }
public void Cmp_CopyFromReference(MonoBehaviour reference) { if (reference == null) { Debug.LogError("[" + name + ".Cmp_CopyFromReferenceDeep]: Reference is null"); return; } TargetGameObject.CopyComponent(reference); }