기술 자료

Unity Engine

Unity Engine

OnWillCreateAsset(string)

Unity calls this method when it is about to create an Asset you haven't imported (for example,.meta files).
읽는 시간 1분최근 업데이트: 한 달 전

Definition

OnWillCreateAsset()

public void OnWillCreateAsset(string arg0)

Parameters

arg0

Examples

using UnityEngine;public class CustomAssetModificationProcessor : UnityEditor.AssetModificationProcessor{ static void OnWillCreateAsset(string path) { Debug.Log("Asset is being created at: " + path); }}