//Called on blueprint destruction private void OnDestroy() { //If the blueprint is valid if (blueprintID > -1) { //TODO: Execute all OnDestroy events //Remove the blueprint from the blueprint instance manager BlueprintInstanceManager.RemoveBlueprint(blueprintID); } }