void OnEnable()
        {
            curve = GetComponent <CustomCurve>();
            mf    = GetComponent <MeshFilter>();
            mr    = GetComponent <MeshRenderer>();

            GetCurveMesh();

            curve.OnCurveModified += Curve_OnCurveModified;
            FolderImportOverride_PostImport.OnAssetImported += AssetImported;
        }
예제 #2
0
 private void OnEnable()
 {
     line = target as CustomCurve;
 }