Example #1
0
 /// <description>
 /// Creates a new script asset using the targetFilePath.
 /// </description>
 /// <returns>The bool result of calling exec</returns>
 public void ResolveAssetItemIssues(AssetImportObject assetItem = null)
 {
     InternalUnsafeMethods.ResolveAssetItemIssues__Args _args = new InternalUnsafeMethods.ResolveAssetItemIssues__Args()
     {
         assetItem = assetItem.ObjectPtr,
     };
     InternalUnsafeMethods.ResolveAssetItemIssues()(ObjectPtr, _args);
 }
Example #2
0
 /// <description>
 /// Creates a new script asset using the targetFilePath.
 /// </description>
 /// <returns>The bool result of calling exec</returns>
 public void DeleteImportingAsset(AssetImportObject assetItem = null)
 {
     InternalUnsafeMethods.DeleteImportingAsset__Args _args = new InternalUnsafeMethods.DeleteImportingAsset__Args()
     {
         assetItem = assetItem.ObjectPtr,
     };
     InternalUnsafeMethods.DeleteImportingAsset()(ObjectPtr, _args);
 }
Example #3
0
 /// <description>
 /// Creates a new script asset using the targetFilePath.
 /// </description>
 /// <returns>The bool result of calling exec</returns>
 public void AddImportingAssetItem(AssetImportObject assetItem = null, AssetImportObject parentItem = null)
 {
     InternalUnsafeMethods.AddImportingAssetItem__Args _args = new InternalUnsafeMethods.AddImportingAssetItem__Args()
     {
         assetItem  = assetItem.ObjectPtr,
         parentItem = parentItem.ObjectPtr,
     };
     InternalUnsafeMethods.AddImportingAssetItem()(ObjectPtr, _args);
 }
Example #4
0
        /// <description>
        /// Creates a new script asset using the targetFilePath.
        /// </description>
        /// <returns>The bool result of calling exec</returns>
        public int GetAssetItemChildCount(AssetImportObject assetItem = null)
        {
            InternalUnsafeMethods.GetAssetItemChildCount__Args _args = new InternalUnsafeMethods.GetAssetItemChildCount__Args()
            {
                assetItem = assetItem.ObjectPtr,
            };
            int _engineResult = InternalUnsafeMethods.GetAssetItemChildCount()(ObjectPtr, _args);

            return(_engineResult);
        }
Example #5
0
        /// <description>
        /// Creates a new script asset using the targetFilePath.
        /// </description>
        /// <returns>The bool result of calling exec</returns>
        public AssetImportObject GetAssetItemChild(AssetImportObject assetItem = null, int index = 0)
        {
            InternalUnsafeMethods.GetAssetItemChild__Args _args = new InternalUnsafeMethods.GetAssetItemChild__Args()
            {
                assetItem = assetItem.ObjectPtr,
                index     = index,
            };
            IntPtr _engineResult = InternalUnsafeMethods.GetAssetItemChild()(ObjectPtr, _args);

            return(new AssetImportObject(_engineResult));
        }