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

            GetCurveMesh();

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