DuplicateGameObjectsUsingPasteboard() private method

private DuplicateGameObjectsUsingPasteboard ( ) : void
return void
Exemplo n.º 1
0
        internal static void DuplicateGO(Transform fallbackParent)
        {
            CutBoard.Reset();
            bool customParentIsSelected = GetIsCustomParentSelected(fallbackParent);

            Unsupported.DuplicateGameObjectsUsingPasteboard();
            if (customParentIsSelected)
            {
                Selection.activeTransform.SetParent(fallbackParent, true);
            }
        }
Exemplo n.º 2
0
 private void DuplicateGO()
 {
     Unsupported.DuplicateGameObjectsUsingPasteboard();
 }