public void Init(DeltinScript deltinScript) { Pathmap = new PathmapClass(deltinScript); PathResolve = new PathResolveClass(deltinScript); Bakemap = new BakemapClass(deltinScript); deltinScript.Types.AddType(Pathmap.Provider); deltinScript.Types.AddType(PathResolve.Provider); deltinScript.Types.AddType(Bakemap.Provider); }
public PathmapBake(ActionSet actionSet, Element pathmapObject, Element attributes, ILambdaInvocable onLoop) { ActionSet = actionSet; var pathfinderClasses = actionSet.DeltinScript.GetComponent <PathfinderTypesComponent>(); _pathmapClass = pathfinderClasses.Pathmap; _bakemapClass = pathfinderClasses.Bakemap; _pathmapObject = pathmapObject; EnabledAttributes = attributes; _onLoop = onLoop; }