public void OnLoad(VisualScriptWindow window) { var asset = window.Asset; var meta = asset.Meta; BaseClass = TypeUtils.GetType(meta.BaseTypename).Type; IsAbstract = (meta.Flags & VisualScript.Flags.Abstract) != 0; IsSealed = (meta.Flags & VisualScript.Flags.Sealed) != 0; Window = Window1 = Window2 = window; }
public void OnClean() { Window = Window1 = Window2 = null; }