UnityEditor.EditorUtility.Internal_InstantiateRemoveAllNonAnimationComponentsSingle C# (CSharp) Method

Internal_InstantiateRemoveAllNonAnimationComponentsSingle() private static method

private static Internal_InstantiateRemoveAllNonAnimationComponentsSingle ( Object data, Vector3 pos, Quaternion rot ) : Object
data Object
pos Vector3
rot UnityEngine.Quaternion
return Object
        private static Object Internal_InstantiateRemoveAllNonAnimationComponentsSingle(Object data, Vector3 pos, Quaternion rot)
        {
            return INTERNAL_CALL_Internal_InstantiateRemoveAllNonAnimationComponentsSingle(data, ref pos, ref rot);
        }

Usage Example

示例#1
0
 internal static UnityEngine.Object InstantiateRemoveAllNonAnimationComponents(UnityEngine.Object original, Vector3 position, Quaternion rotation)
 {
     if (original == null)
     {
         throw new ArgumentException("The prefab you want to instantiate is null.");
     }
     return(EditorUtility.Internal_InstantiateRemoveAllNonAnimationComponentsSingle(original, position, rotation));
 }
EditorUtility